Re: [PATCH v2] resource: Merge resources on a node when hot-adding memory

2018-08-07 Thread Rashmica Gupta
On Tue, Aug 7, 2018 at 9:52 PM, Vlastimil Babka wrote: > On 08/06/2018 08:52 AM, 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

Re: [PATCH v2] resource: Merge resources on a node when hot-adding memory

2018-08-07 Thread Vlastimil Babka
On 08/06/2018 08:52 AM, 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 - 0x

Re: [PATCH v2] resource: Merge resources on a node when hot-adding memory

2018-08-06 Thread Rashmica
On 07/08/18 00:14, Mike Rapoport wrote: > On Mon, Aug 06, 2018 at 04:52:24PM +1000, 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 a

Re: [PATCH v2] resource: Merge resources on a node when hot-adding memory

2018-08-06 Thread Mike Rapoport
On Mon, Aug 06, 2018 at 04:52:24PM +1000, 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 memor