[lkml]   [2008]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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



 \ /
  Last update: 2008-04-15 18:19    [W:0.111 / U:3.480 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site