]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mm/memory-failure.c: fix spinlock vs mutex order
authorPeter Zijlstra <peterz@infradead.org>
Mon, 27 Jun 2011 23:18:09 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Jun 2011 01:00:13 +0000 (18:00 -0700)
commit9b679320a5fbf46454011e5c62e0b8991b0956d1
tree49ea7be5e8bb669ef99533a18c73555e2882efc5
parentaa2c96d6f329e66cc59352b0f12e8f04e6a9593b
mm/memory-failure.c: fix spinlock vs mutex order

We cannot take a mutex while holding a spinlock, so flip the order and
fix the locking documentation.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory-failure.c
mm/rmap.c