summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-09-14 09:43:15 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 15:53:23 +1000
commit8bdafa39a47265bc029838b35cc6585f69224afa (patch)
treecade05d9d67d3c6c421f46012961a46dacae5d70 /arch/powerpc/mm/hugetlbpage.c
parenta11940978bd598e65996b4f807cf4904793f7025 (diff)
downloadblackbird-op-linux-8bdafa39a47265bc029838b35cc6585f69224afa.tar.gz
blackbird-op-linux-8bdafa39a47265bc029838b35cc6585f69224afa.zip
powerpc: Fix deadlock in icswx code
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> Cc: <stable@kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud