From: Aneesh Kumar K.V Date: Thu, 20 Jun 2013 09:00:24 +0000 (+0530) Subject: powerpc: disable assert_pte_locked for collapse_huge_page X-Git-Tag: v3.11-rc1~94^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a00e7bea0dde6a44b9bbe84f30b731d9ec73858b;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed