Re: > 15,000 Simultaneous Connections

Stephen C. Tweedie (sct@redhat.com)
Wed, 15 Sep 1999 19:48:50 +0100 (BST)


Hi,

On Wed, 15 Sep 1999 17:23:45 +0100 (GMT/BST), Mike Jagdis
<mike@roan.co.uk> said:

> Then again, I'm not convinced that the sigio approach is what
> we really want anyway. Looking at, for instance, drivers/char/n_tty.c
> we seem to queue a signal on every new line if ICANON is set and
> for every character (after VMIN) if it isn't. All we really want
> to know is that something happened since we last paid attention
> to the fd, preferably with a quick way of getting the current
> state (POLL_* flags).

For sockets, look at sock_wake_async: it already does a first pass at
eliminating redundant signals.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/