summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pnx4008/dma.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-10-08 22:01:39 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-09 14:25:19 +0200
commiteefb47f6a1e855653d275cb90592a3587ea93a09 (patch)
treef6b5b611a8900d975874ab0ac9e7f5df935ef862 /arch/arm/mach-pnx4008/dma.c
parentxen: remove unused balloon.h (diff)
downloadlinux-eefb47f6a1e855653d275cb90592a3587ea93a09.tar.xz
linux-eefb47f6a1e855653d275cb90592a3587ea93a09.zip
xen: use spin_lock_nest_lock when pinning a pagetable
When pinning/unpinning a pagetable with split pte locks, we can end up holding multiple pte locks at once (we need to hold the locks while there's a pending batched hypercall affecting the pte page). Because all the pte locks are in the same lock class, lockdep thinks that we're potentially taking a lock recursively. This warning is spurious because we always take the pte locks while holding mm->page_table_lock. lockdep now has spin_lock_nest_lock to express this kind of dominant lock use, so use it here so that lockdep knows what's going on. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-pnx4008/dma.c')
0 files changed, 0 insertions, 0 deletions