From: Andrea Arcangeli Date: Wed, 16 Feb 2011 23:45:22 +0000 (-0800) Subject: x86/mm: Fix pgd_lock deadlock X-Git-Tag: v2.6.37.5~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f80e8b97a1fa31519c256a65587bcb1b5920985a;p=pandora-kernel.git x86/mm: Fix pgd_lock deadlock commit a79e53d85683c6dd9f99c90511028adc2043031f upstream. It's forbidden to take the page_table_lock with the irq disabled or if there's contention the IPIs (for tlb flushes) sent with the page_table_lock held will never run leading to a deadlock. Nobody takes the pgd_lock from irq context so the _irqsave can be removed. Signed-off-by: Andrea Arcangeli Acked-by: Rik van Riel Tested-by: Konrad Rzeszutek Wilk Signed-off-by: Andrew Morton Cc: Peter Zijlstra Cc: Linus Torvalds LKML-Reference: <201102162345.p1GNjMjm021738@imap1.linux-foundation.org> Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed