[PATCH v2 2/4] powerpc/mm/radix: Free PUD table when freeing pagetable

Reza Arbab arbab at linux.ibm.com
Thu Jul 9 06:30:10 AEST 2020


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.GA18807@in.ibm.com/

tl;dr, x86 intentionally does not free, and it wasn't quite clear if 
their motivation also applies to us. Probably not, but I thought it was 
worth mentioning again.

-- 
Reza Arbab


More information about the Linuxppc-dev mailing list