Messages in this thread | | | Date | Mon, 21 Oct 2002 12:50:56 -0400 | From | Benjamin LaHaise <> | Subject | Re: [PATCH] async poll for 2.5 |
| |
On Mon, Oct 21, 2002 at 05:58:17PM +0100, Alan Cox wrote: > 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
I've structured the aio userland structure so that this is possible, just not implemented yet. There are fields for compatible and incompatible features, as well as the length of the header. This way, the library can implement a faster getevents call when futex support is added, but it always has the option of falling back to the syscall should it not understand any changes we make to the data structure.
-ben -- "Do you seek knowledge in time travel?" - 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/
| |