- 27 Jul, 2009 39 commits
-
-
Thomas Gleixner authored
i_alloc_sem is used as a completion in direct-io which does not follow owner rules. preempt-rt needs to keep it as such. So convert it to rw_anon_semaphore and annotate the semantics hereby. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Most of the rw_semaphores have struct owner semantics. i_alloc_sem and two xfs ones are used as both semaphores and completions. That makes it hard to convert for preempt-rt. Add an rw_anon_semaphores type which is not converted on -rt. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Semaphores used as mutexes have been deprecated for years. Now that all users are either converted to real semaphores or to mutexes remove the cruft. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
bd_mount_sem is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert staging users. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
-
Thomas Gleixner authored
It needs to be investigated whether it can be replaced by a real mutex, but that needs more thought and investigation. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
The semaphore is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Wan ZongShun <mcuos.com@gmail.com>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and used as completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and used as completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Tony Luck <tony.luck@intel.com>
-
Thomas Gleixner authored
The semaphore is used as mutex so make it a mutex. Clean up all users outside of drivers/base as well. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Roland Dreier <rolandd@cisco.com>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completions in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completions in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Pierre Ossman <drzeus@drzeus.cx>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: David S. Miller <davem@davemloft.net>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completions in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: David S. Miller <davem@davemloft.net>
-
Thomas Gleixner authored
bp->b_sema claims to be a mutex, but it is a semaphore with non obvious semantics. Make it a real semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Christoph Hellwig <hch@lst.de>
-
Thomas Gleixner authored
The semaphore is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
-
Thomas Gleixner authored
The "mutex" ftdi->sw_lock is used as a lock and a completion. Convert it to a real semaphore which allows both. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
-
Thomas Gleixner authored
The usage of these "mutex" is non obvious and probably a completion in some places. Make it them semaphores. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
pSesInfo->sesSem is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Steve French <sfrench@us.ibm.com>
-
Thomas Gleixner authored
tree_lock is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
tree_lock is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
sbi->hpfs_creation_de is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
server->sem is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
hdev->req_lock is used as mutex so make it a mutex. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Marcel Holtmann <marcel@holtmann.org>
-
Thomas Gleixner authored
The usage of these "mutex"es is non obvious and probably completions in some places. Make it them semaphores. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
-
Thomas Gleixner authored
The usage of this "mutex"es is non obvious and probably a completion in some places. Make them semaphores. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: David Miller <davem@davemloft.net>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: David Miller <davem@davemloft.net>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: David Miller <davem@davemloft.net>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: David Miller <davem@davemloft.net>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Dmitry Torokhov <dtor@mail.ru>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Dmitry Torokhov <dtor@mail.ru>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Dmitry Torokhov <dtor@mail.ru>
-
Thomas Gleixner authored
The usage of these "mutex"es is non obvious and probably a completion in some places. Make them semaphores. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Dmitry Torokhov <dtor@mail.ru>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Dmitry Torokhov <dtor@mail.ru>
-
Thomas Gleixner authored
The full cleanup of init_MUTEX[_LOCKED] and DECLARE_MUTEX has not been done. Some of the users are real semaphores and we should name them as such instead of confusing everyone with "MUTEX". Provide the infrastructure to get finally rid of init_MUTEX[_LOCKED] and DECLARE_MUTEX. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- 23 Jul, 2009 1 commit
-
-
Linus Torvalds authored
-