Re: [PATCH] async poll for 2.5

Alan Cox (alan@lxorguk.ukuu.org.uk)
21 Oct 2002 17:58:17 +0100


On Wed, 2002-10-16 at 19:29, John Gardiner Myers wrote:
> Better to fix the API. The kernel has more information than user space
> and can do a better job. In the kernel, the problem can be fixed once
> and for all, not over and over again in each different wrapper library.
> It's not even as if the change would break programs correctly written
> to the old API, not that we particularly care about programs written to
> the old API.

I think a chunk of the poll scaling problem is better addressed by
futexes. If I can say "this futex list for this fd for events X Y and Z"
I can construct almost all the efficient stuff I need out of the futex
interfaces, much like doing it with SIGIO setting flags but a lot less
clocks

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