On Thu, Jun 25, 2020 at 12:15:45PM +0530, Aneesh Kumar K.V wrote:
remove_pagetable() isn't freeing PUD table. This causes memory
leak during memory unplug. Fix this.
This has come up before:
https://lore.kernel.org/linuxppc-dev/20190731061920.ga18...@in.ibm.com/
tl;dr, x86 intentionally does
On 7/8/20 7:42 AM, Michael Ellerman wrote:
"Aneesh Kumar K.V" writes:
From: Bharata B Rao
remove_pagetable() isn't freeing PUD table. This causes memory
leak during memory unplug. Fix this.
Fixes: 4b5d62ca17a1 ("powerpc/mm: add radix__remove_section_mapping()")
Fixes: ??
cheers
"Aneesh Kumar K.V" writes:
> From: Bharata B Rao
>
> remove_pagetable() isn't freeing PUD table. This causes memory
> leak during memory unplug. Fix this.
Fixes: ??
cheers
> Signed-off-by: Bharata B Rao
> Signed-off-by: Aneesh Kumar K.V
> ---
> arch/powerpc/mm/book3s64/radix_pgtable.c | 16