Re: powerpc/memtrace: Remove memory in chunks

2018-09-19 Thread Michael Ellerman
On Fri, 2018-08-17 at 04:25:01 UTC, Rashmica Gupta wrote: > When hot-removing memory release_mem_region_adjustable() splits iomem > resources if they are not the exact size of the memory being > hot-deleted. Adding this memory back to the kernel adds a new resource. > > Eg a node has memory 0x0 -

[PATCH] powerpc/memtrace: Remove memory in chunks

2018-08-16 Thread Rashmica Gupta
When hot-removing memory release_mem_region_adjustable() splits iomem resources if they are not the exact size of the memory being hot-deleted. Adding this memory back to the kernel adds a new resource. Eg a node has memory 0x0 - 0xf. Hot-removing 1GB from 0xf4000 results in the single