|
|
Log in / Subscribe / Register

: MUTEX: Introduce mutex implementation

From:  David Howells <dhowells@redhat.com>
To:  torvalds@osdl.org, akpm@osdl.org, mingo@redhat.com
Subject:  [PATCH 0/12]: MUTEX: Introduce mutex implementation
Date:  Fri, 16 Dec 2005 23:13:06 GMT
Cc:  linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org

This set of patches implements mutexes as an alternative to semaphores where
such more restricted behaviour is appropriate.

There are several changes that might be appropriate to these patches:

 (1) Name DECLARE_MUTEX as DEFINE_MUTEX in linux/mutex-*.h

 (2) Make mutex_trylock()'s return value consistent with semaphores rather
     than everything else.

 (3) Drop the testing module (patch 12/12). I'm not sure I've got the plumbing
     correct in the master makefile.

Patches to come after Christmas will include sem -> completion conversions and
sem -> mutex conversions.

Merry Christmas!

David


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