]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/THP: withdraw the pgtable after pmdp related operations
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 23 May 2013 00:37:15 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 May 2013 06:09:03 +0000 (16:09 +1000)
commit215c07d71f69d4fc5c52a79d032b8c8c31c07d66
tree06bf4051ca427c6197a0d97fc2abea7cac556135
parent705bd9f5b3812f4c4bfca3f481540b4ce953c2ab
mm/THP: withdraw the pgtable after pmdp related operations

For architectures like ppc64 we look at deposited pgtable when calling
pmdp_get_and_clear.  So do the pgtable_trans_huge_withdraw after finishing
pmdp related operations.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c