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

From: Michal Hocko
Date: Thu Dec 09 2021 - 03:46:11 EST


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