From: Chris Metcalf Date: Thu, 29 Mar 2012 19:50:08 +0000 (-0400) Subject: arch/tile: fix up locking in pgtable.c slightly X-Git-Tag: v3.4-rc2~7^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=719ea79e330c5e1a17fb7e4cf352a81e4c84cff5;p=pandora-kernel.git arch/tile: fix up locking in pgtable.c slightly We should be holding the init_mm.page_table_lock in shatter_huge_page() since we are modifying the kernel page tables. Then, only if we are walking the other root page tables to update them, do we want to take the pgd_lock. Add a comment about taking the pgd_lock that we always do it with interrupts disabled and therefore are not at risk from the tlbflush IPI deadlock as is seen on x86. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed