]> Git Repo - linux.git/commit
mm/hugetlb: simplify hugetlb unmap
authorAneesh Kumar K.V <[email protected]>
Tue, 26 Jul 2016 22:24:06 +0000 (15:24 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commit31d49da5ad01728e48a1bb2b43795598b23de68a
tree2b67176245e53731381950f990b817ed0c46de61
parent337d9abf1cd1a59645d91b6d0b1685a476b81978
mm/hugetlb: simplify hugetlb unmap

For hugetlb like THP (and unlike regular page), we do tlb flush after
dropping ptl.  Because of the above, we don't need to track force_flush
like we do now.  Instead we can simply call tlb_remove_page() which will
do the flush if needed.

No functionality change in this patch.

Link: http://lkml.kernel.org/r/1465049193-22197-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/hugetlb.c
This page took 0.051522 seconds and 4 git commands to generate.