Re: [PATCH] fix pgd_lock deadlock

From: Rik van Riel
Date: Wed Feb 16 2011 - 11:25:11 EST


On 02/16/2011 09:49 AM, Andrea Arcangeli wrote:

Subject: fix pgd_lock deadlock

From: Andrea Arcangeli<aarcange@xxxxxxxxxx>

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.

Apparently nobody takes the pgd_lock from irq so the _irqsave can be removed.

Signed-off-by: Andrea Arcangeli<aarcange@xxxxxxxxxx>


Acked-by: Rik van Riel <riel@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/