Re: Re: "mm: move pcp and lru-pcp draining into single wq" broke resume from s2ram

From: Michal Hocko
Date: Wed Apr 19 2017 - 03:10:49 EST


On Wed 19-04-17 14:41:30, Tetsuo Handa wrote:
[...]
> Somebody is waiting forever with cpu_hotplug.lock held?

Why would that matter for drain_all_pages? It doesn't use
get_online_cpus since a459eeb7b852 ("mm, page_alloc: do not depend on
cpu hotplug locks inside the allocator") while ce612879ddc7 ("mm: move
pcp and lru-pcp draining into single wq") was merged later.

--
Michal Hocko
SUSE Labs