]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mm: spinlock tree_lock
authorNick Piggin <npiggin@suse.de>
Sat, 26 Jul 2008 02:45:32 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:06 +0000 (12:00 -0700)
commit19fd6231279be3c3bdd02ed99f9b0eb195978064
treeee09121054262d73c551b57114acd855b82a7a82
parenta60637c85893e7191faaafa6a72e197c24386727
mm: spinlock tree_lock

mapping->tree_lock has no read lockers.  convert the lock from an rwlock
to a spinlock.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Reviewed-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 files changed:
fs/buffer.c
fs/inode.c
include/asm-arm/cacheflush.h
include/asm-parisc/cacheflush.h
include/linux/fs.h
mm/filemap.c
mm/migrate.c
mm/page-writeback.c
mm/swap_state.c
mm/swapfile.c
mm/truncate.c
mm/vmscan.c