Re: [RFC PATCH v0 4/5] powerpc/mm/radix: Free PUD table when freeing pagetable

2020-06-22 Thread Aneesh Kumar K.V
Bharata B Rao writes: > remove_pagetable() isn't freeing PUD table. This causes memory > leak during memory unplug. Fix this. > We had changes w.r.t p4d (folded 5 level table). You may want to get this updated to recent kernel. Reviewed-by: Aneesh Kumar K.V > Signed-off-by: Bharata B Rao >

[RFC PATCH v0 4/5] powerpc/mm/radix: Free PUD table when freeing pagetable

2020-04-05 Thread Bharata B Rao
remove_pagetable() isn't freeing PUD table. This causes memory leak during memory unplug. Fix this. Signed-off-by: Bharata B Rao --- arch/powerpc/mm/book3s64/radix_pgtable.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/powerpc/mm/book3s64/radix_pgtable.c b/arch/pow