On Fri, Jul 26, 2019 at 10:34:40AM +0530, Bharata B Rao wrote:
remove_pagetable() isn't freeing PUD table. This causes memory leak during memory unplug. Fix this.
On x86, this is intentional. See af2cf278ef4f ("x86/mm/hotplug: Don't remove PGD entries in remove_pagetable()") 98fe3633c5a4 ("x86/mm/hotplug: Fix BUG_ON() after hot-remove by not freeing PUD") Does their reasoning apply to powerpc as well? -- Reza Arbab