- 28 Jul, 2009 8 commits
-
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Add anon_semaphore to annotate the code for real anonymous semaphores. Map semaphores to them for !RT Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
- 27 Jul, 2009 32 commits
-
-
Thomas Gleixner authored
This reverts commit 2e272570. hch muttered: "Actually we may return to userspace with it held, so the conversion is a bad idea. But I have a patch I need to post to completely get rid of it." Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Both locks have no struct owner rules and therefor preempt-rt must keep them as real semaphores. Convert them to rw_anon_semaphores and annotate their semantics hereby. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
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>
-