lkml.org 
[lkml]   [2008]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Replace completions with semaphores


On Tue, 15 Apr 2008, Peter Zijlstra wrote:
>
> That sounds horrible; I really prefer targeted replacements like
> completions that make it clear what they're supposed to be used for.

I agree. I'd rather _keep_ the completions, and get rid of the semaphores,
so I think the whole fundamental patch here under discussion is broken.

We should do:
- continue replacing semaphores that are used purely for mutual exclusion
with mutexes.
- probably add support for completions to do counting
- and then eventually just do the _reverse_ of what the current patch
does, namely replace the existing counting semaphore usage with
completions.

Hmm?

Linus


\
 
 \ /
  Last update: 2008-04-15 18:19    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site