Re: [PATCH v2] lib/group_cpus: fix NULL pointer dereference from group_cpus_evenly()
From: Yu Kuai
Date: Thu Jun 19 2025 - 21:11:17 EST
Hi,
在 2025/06/19 22:08, John Garry 写道:
There's a non-SMP version of group_cpus_evenly() at the bottom of
lib/group_cpus.c
It also does a kcalloc(numgrps, ...)
Does that need to be fixed as well?
Yes, you're right. Just run the test with SMP disabled, and the problem
can be reporduced as well.
Thanks,
Kuai