[Ksummit-2008-discuss] topic proposal
Daniel Walker
dwalker at mvista.com
Wed Aug 27 09:14:22 PDT 2008
On Wed, 2008-08-27 at 09:25 -0600, Matthew Wilcox wrote:
> On Wed, Aug 27, 2008 at 08:19:13AM -0700, Roland Dreier wrote:
> > Except that poll_sem can't be converted to a mutex because it is
> > locked/unlocked from different threads. And it's not clear to me what
> > the advantage of changing event_sem to a counting completion would be,
> > even if such objects were implemented -- how does a counting completion
> > differ from a semaphore really?
>
> In name only. Completions are identical to the new generic semaphore
> code, just implemented slightly less efficiently.
>
completions are like semaphores that start out locked initially, so it's
different in that way.. It's more strict than a semaphore.
Daniel
More information about the Ksummit-2008-discuss
mailing list