Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound event wait

From: Marcelo Tosatti (
Date: Thu Feb 08 2001 - 08:45:34 EST

On Thu, 8 Feb 2001, Marcelo Tosatti wrote:

> On Thu, 8 Feb 2001, Ben LaHaise wrote:
> <snip>
> > > (besides, latency would suck. I bet you're better off waiting for the
> > > requests if they are all used up. It takes too long to get deep into the
> > > kernel from user space, and you cannot use the exclusive waiters with its
> > > anti-herd behaviour etc).
> >
> > Ah, but no. In fact for some things, the wait queue extensions I'm using
> > will be more efficient as things like test_and_set_bit for obtaining a
> > lock gets executed without waking up a task.
> The latency argument is somewhat bogus because there is no problem to
> check the request queue, in the aio syscalls, and simply fail if its full.

Ugh, I forgot to say check the request queue before doing any filesystem

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:11 EST