Question about cpuset_hotplug_workfn in kernel/cgoup/cpuset.c

From: Rick Yiu
Date: Thu Sep 01 2022 - 22:47:38 EST


Hi all,

In the commit

deb7aa308ea26 cpuset: reorganize CPU / memory hotplug handling

It states so in the comment for this function:

/*
...
* Note that CPU offlining during suspend is ignored. We don't modify
* cpusets across suspend/resume cycles at all.
*/

However, I did see the function cpuset_hotplug_workfn called in the resume
path, which costs 10+ ms on our platform. I was wondering if the statement
is still true, could this function be bypassed in the resume path?

I also filed a bug for this.
https://bugzilla.kernel.org/show_bug.cgi?id=216321

I wish to be personally CC'ed.

Thanks,
Rick