LWN.net Logo

mutex subsystem, -V7

From:  Ingo Molnar <mingo@elte.hu>
To:  lkml <linux-kernel@vger.kernel.org>
Subject:  [patch 00/11] mutex subsystem, -V7
Date:  Fri, 23 Dec 2005 17:16:49 +0100
Cc:  Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>, Arjan van de Ven <arjan@infradead.org>, Nicolas Pitre <nico@cam.org>, Jes Sorensen <jes@trained-monkey.org>, Zwane Mwaikambo <zwane@arm.linux.org.uk>, Oleg Nesterov <oleg@tv-sign.ru>, David Howells <dhowells@redhat.com>, Alan Cox <alan@lxorguk.ukuu.org.uk>, Benjamin LaHaise <bcrl@kvack.org>, Steven Rostedt <rostedt@goodmis.org>, Christoph Hellwig <hch@infradead.org>, Andi Kleen <ak@suse.de>, Russell King <rmk+lkml@arm.linux.org.uk>

this is version -V7 of the generic mutex subsystem. It consists of the 
following 11 patches:

  add-atomic-xchg.patch
  mutex-generic-asm-implementations.patch
  mutex-asm-mutex.h-i386.patch
  mutex-asm-mutex.h-x86_64.patch
  mutex-asm-mutex.h-arm.patch
  mutex-arch-mutex-h.patch
  mutex-core.patch
  mutex-docs.patch
  mutex-debug.patch
  mutex-debug-more.patch
  xfs-mutex-namespace-collision-fix.patch

the patches are against Linus' latest GIT tree, and they should work 
fine on every Linux architecture.

Changes since -V6:

 33 files changed, 515 insertions(+), 360 deletions(-)

- added asm-arm/mutex.h ARM mutex fastpath implementation,
  by Nicolas Pitre.

- as per Linus' suggestion, split up the mutex debugging code and 
  prototypes into 4 separate files: kernel/mutex.c, kernel/mutex.h, 
  kernel/mutex-debug.c and kernel/mutex-debug.h, and made the debugging 
  code build as kernel/mutex-debug.o. As a result mutex.c got smaller 
  and easier to read. This also eliminated an #ifdef.

- added a new "NULL mutex fastpath implementation" via
  asm-generic/mutex-null.h, which is now used by the debugging code.  
  This got rid of two ugly #ifdef's in mutex.c, and removed code as 
  well.

- comment cleanups by Nicolas Pitre.

- more doc/comment additions and updates.

- lots of code and style cleanups in various mutex headers.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds