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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 6/12]: MUTEX: Rename DECLARE_MUTEX for fs/ dir
- From: David Howells <[email protected]>
- [PATCH 11/12]: MUTEX: Rename DECLARE_MUTEX for miscellaneous directories
- From: David Howells <[email protected]>
- [PATCH 7/12]: MUTEX: Rename DECLARE_MUTEX for include/asm-*/ dirs
- From: David Howells <[email protected]>
- [PATCH 4/12]: MUTEX: Rename DECLARE_MUTEX for drivers/ dir, A thru M
- From: David Howells <[email protected]>
- [PATCH 12/12]: MUTEX: Provide synchronisation primitive testing module
- From: David Howells <[email protected]>
- [PATCH 8/12]: MUTEX: Rename DECLARE_MUTEX for kernel/ dir
- From: David Howells <[email protected]>
- [PATCH 3/12]: MUTEX: Rename DECLARE_MUTEX for arch/ dir
- From: David Howells <[email protected]>
- [PATCH 1/12]: MUTEX: Implement mutexes
- From: David Howells <[email protected]>
- [PATCH 5/12]: MUTEX: Rename DECLARE_MUTEX for drivers/ dir, N thru Z
- From: David Howells <[email protected]>
- [PATCH 2/12]: MUTEX: Provide SWAP-based mutex for FRV
- From: David Howells <[email protected]>
- [PATCH 9/12]: MUTEX: Rename DECLARE_MUTEX for net/ dir
- From: David Howells <[email protected]>
- [PATCH 10/12]: MUTEX: Rename DECLARE_MUTEX for sound/ dir
- From: David Howells <[email protected]>
- [PATCH 6/12]: MUTEX: Rename DECLARE_MUTEX for fs/ dir
- Prev by Date: [PATCH 1/12]: MUTEX: Implement mutexes
- Next by Date: [PATCH 3/12]: MUTEX: Rename DECLARE_MUTEX for arch/ dir
- Previous by thread: Re: [RFC: 2.6 patch] drivers/pci/: possible cleanups
- Next by thread: [PATCH 10/12]: MUTEX: Rename DECLARE_MUTEX for sound/ dir
- Index(es):