On Thu, 28 Mar 2024 13:02:44 -0700 Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote: > Well, this is what I expected, we do not support this feature for > ARCH_NEEDS_WEAK_PER_CPU (alpha and s390 with CONFIG_SMP=y && > CONFIG_MODULE=y). > Unfortunately ARCH_NEEDS_WEAK_PER_CPU is not a config option, so I > can't add it as a dependency for CONFIG_MEM_ALLOC_PROFILING. Should I > handle this differently? Make it a config option? That would be a cleanup on its own.