Re: [RFC] unify semaphore implementations

From: Trond Myklebust
Date: Sat Apr 30 2005 - 11:54:37 EST

On lau , 2005-04-30 at 11:49 +1000, Paul Mackerras wrote:
> Benjamin LaHaise writes:
> > There are at least two users who need asynchronous semaphore/mutex
> > operations: aio_write (which needs to acquire i_sem), and nfs.
> What do you mean by asynchronous semaphore/mutex operations? Are you
> talking about a down operation that will acquire the semaphore if it
> is free, but if not, arrange for a callback and return immediately, or
> something?

Yes. See the iosem patches I posted a couple of weeks ago.


Trond Myklebust <trond.myklebust@xxxxxxxxxx>

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