Files
kernel-tenderloin-3.0/arch/powerpc/mm
Anton Blanchard eaeafcd898 powerpc: Fix deadlock in icswx code
commit 8bdafa39a47265bc029838b35cc6585f69224afa upstream.

The icswx code introduced an A-B B-A deadlock:

     CPU0                    CPU1
     ----                    ----
lock(&anon_vma->mutex);
                             lock(&mm->mmap_sem);
                             lock(&anon_vma->mutex);
lock(&mm->mmap_sem);

Instead of using the mmap_sem to keep mm_users constant, take the
page table spinlock.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-11 09:37:11 -08:00
..
2010-10-27 18:03:05 -07:00
2011-11-11 09:36:48 -08:00
2010-01-15 13:20:08 +11:00
2011-05-19 14:30:43 +10:00
2011-05-19 14:30:43 +10:00