Re: [PATCH v2 7/7] mm, page_alloc: disable pcplists during memory offline

2020-10-22 Thread Oscar Salvador
On Thu, Oct 08, 2020 at 01:42:01PM +0200, Vlastimil Babka wrote: > Memory offline relies on page isolation can race with process freeing pages to > pcplists in a way that a page from isolated pageblock can end up on pcplist. > This can be worked around by repeated draining of pcplists, as done by c

Re: [PATCH v2 7/7] mm, page_alloc: disable pcplists during memory offline

2020-10-08 Thread Vlastimil Babka
On 10/8/20 2:45 PM, Michal Hocko wrote: On Thu 08-10-20 13:42:01, Vlastimil Babka wrote: Memory offline relies on page isolation can race with process freeing pages to pcplists in a way that a page from isolated pageblock can end up on pcplist. "Memory offlining relies on page isolation to gua

Re: [PATCH v2 7/7] mm, page_alloc: disable pcplists during memory offline

2020-10-08 Thread Michal Hocko
On Thu 08-10-20 13:42:01, Vlastimil Babka wrote: > Memory offline relies on page isolation can race with process freeing pages to > pcplists in a way that a page from isolated pageblock can end up on pcplist. "Memory offlining relies on page isolation to guarantee a forward progress because pages

[PATCH v2 7/7] mm, page_alloc: disable pcplists during memory offline

2020-10-08 Thread Vlastimil Babka
Memory offline relies on page isolation can race with process freeing pages to pcplists in a way that a page from isolated pageblock can end up on pcplist. This can be worked around by repeated draining of pcplists, as done by commit 968318261221 ("mm/memory_hotplug: drain per-cpu pages again durin