Re: [PATCH v2 0/8] mm/memory_hotplug: Factor out memory block device handling

2019-05-07 Thread Dan Williams
On Tue, May 7, 2019 at 12:38 PM David Hildenbrand wrote: > > On 07.05.19 21:21, David Hildenbrand wrote: > > On 07.05.19 21:04, Dan Williams wrote: > >> On Tue, May 7, 2019 at 11:38 AM David Hildenbrand wrote: > >>> > >>> We only want memory block devices for memory to be onlined/offlined > >>>

Re: [PATCH v2 0/8] mm/memory_hotplug: Factor out memory block device handling

2019-05-07 Thread David Hildenbrand
On 07.05.19 21:21, David Hildenbrand wrote: > On 07.05.19 21:04, Dan Williams wrote: >> On Tue, May 7, 2019 at 11:38 AM David Hildenbrand wrote: >>> >>> We only want memory block devices for memory to be onlined/offlined >>> (add/remove from the buddy). This is required so user space can >>>

Re: [PATCH v2 0/8] mm/memory_hotplug: Factor out memory block device handling

2019-05-07 Thread David Hildenbrand
On 07.05.19 21:04, Dan Williams wrote: > On Tue, May 7, 2019 at 11:38 AM David Hildenbrand wrote: >> >> We only want memory block devices for memory to be onlined/offlined >> (add/remove from the buddy). This is required so user space can >> online/offline memory and kdump gets notified about

Re: [PATCH v2 0/8] mm/memory_hotplug: Factor out memory block device handling

2019-05-07 Thread Dan Williams
On Tue, May 7, 2019 at 11:38 AM David Hildenbrand wrote: > > We only want memory block devices for memory to be onlined/offlined > (add/remove from the buddy). This is required so user space can > online/offline memory and kdump gets notified about newly onlined memory. > > Only such memory has

[PATCH v2 0/8] mm/memory_hotplug: Factor out memory block device handling

2019-05-07 Thread David Hildenbrand
We only want memory block devices for memory to be onlined/offlined (add/remove from the buddy). This is required so user space can online/offline memory and kdump gets notified about newly onlined memory. Only such memory has the requirement of having to span whole memory blocks. Let's factor