]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: disable assert_pte_locked for collapse_huge_page
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 20 Jun 2013 09:00:24 +0000 (14:30 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jun 2013 06:01:57 +0000 (16:01 +1000)
commit9e888727cde743eba61e38bf4c321e743c58f404
tree295e7fa1b52b6dbf846e67f408fd42fb44b7c773
parentb15a4d2888cb0b6fb0d94f2c660fd4c31c519610
powerpc: disable assert_pte_locked for collapse_huge_page

With THP we set pmd to none, before we do pte_clear. Hence we can't
walk page table to get the pte lock ptr and verify whether it is locked.
THP do take pte lock before calling pte_clear. So we don't change the locking
rules here. It is that we can't use page table walking to check whether
pte locks are held with THP.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/pgtable.c