On 07/20/2015 04:21 PM, Kirill A. Shutemov wrote: > Original split_huge_page() combined two operations: splitting PMDs into > tables of PTEs and splitting underlying compound page. This patch > implements split_huge_pmd() which split given PMD without splitting > other PMDs this page mapped with or underlying compound page. > > Without tail page refcounting, implementation of split_huge_pmd() is > pretty straight-forward. While it's significantly simpler than it used to be, straight-forward is still not the adjective which come to my mind. > > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> > Tested-by: Sasha Levin <sasha.levin@xxxxxxxxxx> > Tested-by: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx> Acked-by: Jerome Marchand <jmarchan@xxxxxxxxxx> > --- > include/linux/huge_mm.h | 11 ++++- > mm/huge_memory.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 132 insertions(+), 1 deletion(-) >
Attachment:
signature.asc
Description: OpenPGP digital signature