On Fri, Jul 01, 2022 at 01:08:21PM -0700, Benjamin Segall wrote: > Yes, fixing (kernel) priority inversion due to CFS_BANDWIDTH requires a > serious reworking of how it works, because it would need to dequeue > tasks individually rather than doing the entire cfs_rq at a time (and > would require some effort to avoid pinging every throttling task to get > it into the kernel). Right, I don't have a good idea on evolving the current implementation into something correct. As you pointed out, we need to account along the sched_group tree but conditionally enforce on each thread. Thanks. -- tejun