Re: [PATCH v3] mm: fix panic in __alloc_pages

Michal Hocko
2021-12-09T08:46:11Z

On Thu 09-12-21 02:16:17, Alexey Makhalov wrote:
> This patch calls alloc_percpu() from setup_arch() while percpu
> allocator is not yet initialized (before setup_per_cpu_areas()).

Yeah, I haven't realized the pcp is not available. I was not really sure
about that. Could you try with the alloc_percpu dropped?

Thanks for testing!
--
Michal Hocko
SUSE Labs