Re: [RFC] Add support for semaphore-like structure with support forasynchronous I/O

From: Andrew Morton
Date: Thu Mar 31 2005 - 19:22:51 EST


Trond Myklebust <trondmy@xxxxxxxxxxxxx> wrote:
>
> on den 30.03.2005 Klokka 18:17 (-0500) skreiv Trond Myklebust:
> > > Or have I misunderstood the intent? Some /* comments */ would be appropriate..
> >
> > Will do.
>
> OK. Plenty of comments added that will hopefully clarify what is going
> on and how to use the API. Also some cleanups of the code.

Ah, so that's what it does ;)

I guess once we have a caller in-tree we could merge this. I wonder if
there's other existing code which should be converted to iosems.

You chose to not use the aio kernel threads?

Does iosem_lock_and_schedule_function() need locking? It nonatomically
alters *lk_state.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/