On 12/03/25 10:53, Dietmar Eggemann wrote:I think it will be better to merge into a single patch to avoid having a broken patch. It is up to you if you want me as a co-author. I don't really mind.
On 11/03/2025 15:51, Waiman Long wrote:...
...You are right. cpuhp_tasks_frozen will be set in the suspend/resume
case. In that case, we do need to add a cpuset helper to acquire the
cpuset_mutex. A test patch as follows (no testing done yet):
This seems to work.Thanks for testing!
Waiman, how do you like to proceed. Separate patch (in this case can you
please send me that with changelog etc.) or incorporate your changes
into my original patch and possibly, if you like, add Co-authored-by?
Without CONFIG_CPUSETS, there will be one and only one global sched domain. Will this still be a problem?
But what about a !CONFIG_CPUSETS build. In this case we won't haveI unfortunately very much suspect !CPUSETS accounting is broken. But if
this DL accounting update during suspend/resume since
dl_rebuild_rd_accounting() is empty.
that is indeed the case, it has been broken for a while. :(
Will need to double check that, but I would probably do it later on
separated from this set that at least seems to cure the most common
cases. What do people think?