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

* Matthew Wilcox <matthew@wil.cx> wrote:

> Yes, that text appears in the URL I provided in the mail that started
> this thread ;-)
>
> The semaphore rewrite I did does not have this problem (it's less
> efficient than the hand-optimised assembler, but much more
> maintainable). You're supposed to be using mutexes if you want
> efficiency anyway.

but semaphores will be _removed_, _completely_. Rewriting them in
generic C code is just the first step towards that - it consolidates all
the myriads of semaphore implementations that Linux has spread out.

your proposed change to change completions to semaphores is totally
backwards and prolongs an API we want to get rid of. Did you miss this
aspect of the mutex rewrite, of the semaphore-to-mutex,
semaphore-to-completions and semaphore-to-rwsem conversions?

Ingo


\
 
 \ /
  Last update: 2008-04-13 09:11    [W:0.765 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site