mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
With 4k page size for hugetlb we allocate hugepage directories from its on slab cache. With patch0c4d26802("powerpc/book3s64/mm: Simplify the rcu callback for page table free") we missed to free these allocated hugepd tables. Update pgtable_free to handle hugetlb hugepd directory table. Fixes:0c4d268029("powerpc/book3s64/mm: Simplify the rcu callback for page table free") Signed-off-by: Aneesh Kumar K.V <[email protected]> [mpe: Add CONFIG_HUGETLB_PAGE guard to fix build break] Signed-off-by: Michael Ellerman <[email protected]>