lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080413070833.GC19773@elte.hu>
Date:	Sun, 13 Apr 2008 09:08:33 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Matthew Wilcox <matthew@....cx>
Cc:	Roland Dreier <rdreier@...co.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Ingo Oeser <ioe-lkml@...eria.de>,
	Daniel Walker <dwalker@...sta.com>,
	linux-kernel@...r.kernel.org, Linus Torvalds <torvalds@...l.org>
Subject: Re: [PATCH] Replace completions with semaphores


* Matthew Wilcox <matthew@....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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ