Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread David Hildenbrand
On 23.09.19 14:30, Michal Hocko wrote: > On Mon 23-09-19 14:20:05, David Hildenbrand wrote: >> On 23.09.19 14:07, Michal Hocko wrote: >>> On Mon 23-09-19 13:34:18, David Hildenbrand wrote: On 23.09.19 13:15, Michal Hocko wrote: >>> [...] > I am wondering why those pages get onlined when

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread Michal Hocko
On Mon 23-09-19 14:20:05, David Hildenbrand wrote: > On 23.09.19 14:07, Michal Hocko wrote: > > On Mon 23-09-19 13:34:18, David Hildenbrand wrote: > >> On 23.09.19 13:15, Michal Hocko wrote: > > [...] > >>> I am wondering why those pages get onlined when they are, in fact, > >>> supposed to be

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread David Hildenbrand
On 23.09.19 14:07, Michal Hocko wrote: > On Mon 23-09-19 13:34:18, David Hildenbrand wrote: >> On 23.09.19 13:15, Michal Hocko wrote: > [...] >>> I am wondering why those pages get onlined when they are, in fact, >>> supposed to be offline. >>> >> >> It's the current way of emulating

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread Michal Hocko
On Mon 23-09-19 13:34:18, David Hildenbrand wrote: > On 23.09.19 13:15, Michal Hocko wrote: [...] > > I am wondering why those pages get onlined when they are, in fact, > > supposed to be offline. > > > > It's the current way of emulating sub-memory-block hotplug on top of the > memory bock

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread David Hildenbrand
On 23.09.19 13:34, David Hildenbrand wrote: > On 23.09.19 13:15, Michal Hocko wrote: >> On Mon 23-09-19 11:31:30, David Hildenbrand wrote: >>> On 23.09.19 10:58, Michal Hocko wrote: On Fri 20-09-19 10:17:54, David Hildenbrand wrote: > On 09.09.19 13:48, David Hildenbrand wrote: >>

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread David Hildenbrand
On 23.09.19 13:15, Michal Hocko wrote: > On Mon 23-09-19 11:31:30, David Hildenbrand wrote: >> On 23.09.19 10:58, Michal Hocko wrote: >>> On Fri 20-09-19 10:17:54, David Hildenbrand wrote: On 09.09.19 13:48, David Hildenbrand wrote: > Based on linux/next + "[PATCH 0/3] Remove

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread Michal Hocko
On Mon 23-09-19 11:31:30, David Hildenbrand wrote: > On 23.09.19 10:58, Michal Hocko wrote: > > On Fri 20-09-19 10:17:54, David Hildenbrand wrote: > >> On 09.09.19 13:48, David Hildenbrand wrote: > >>> Based on linux/next + "[PATCH 0/3] Remove __online_page_set_limits()" > >>> > >>> Let's replace

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread David Hildenbrand
On 23.09.19 10:58, Michal Hocko wrote: > On Fri 20-09-19 10:17:54, David Hildenbrand wrote: >> On 09.09.19 13:48, David Hildenbrand wrote: >>> Based on linux/next + "[PATCH 0/3] Remove __online_page_set_limits()" >>> >>> Let's replace the __online_page...() functions by generic_online_page(). >>>

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-23 Thread Michal Hocko
On Fri 20-09-19 10:17:54, David Hildenbrand wrote: > On 09.09.19 13:48, David Hildenbrand wrote: > > Based on linux/next + "[PATCH 0/3] Remove __online_page_set_limits()" > > > > Let's replace the __online_page...() functions by generic_online_page(). > > Hyper-V only wants to delay the actual

Re: [PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-20 Thread David Hildenbrand
On 09.09.19 13:48, David Hildenbrand wrote: > Based on linux/next + "[PATCH 0/3] Remove __online_page_set_limits()" > > Let's replace the __online_page...() functions by generic_online_page(). > Hyper-V only wants to delay the actual onlining of un-backed pages, so we > can simpy re-use the

[PATCH v1 0/3] mm/memory_hotplug: Export generic_online_page()

2019-09-09 Thread David Hildenbrand
Based on linux/next + "[PATCH 0/3] Remove __online_page_set_limits()" Let's replace the __online_page...() functions by generic_online_page(). Hyper-V only wants to delay the actual onlining of un-backed pages, so we can simpy re-use the generic function. Only compile-tested. Cc: Souptick