Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 20 Nov 2018 08:13:19 -0800 | From | Tejun Heo <> | Subject | Re: [PATCH for-4.20-fixes] cgroup: fix CSS_TASK_ITER_PROCS |
| |
On Thu, Nov 08, 2018 at 12:15:15PM -0800, Tejun Heo wrote: > CSS_TASK_ITER_PROCS implements process-only iteration by making > css_task_iter_advance() skip tasks which aren't threadgroup leaders; > however, when an iteration is started css_task_iter_start() calls the > inner helper function css_task_iter_advance_css_set() instead of > css_task_iter_advance(). As the helper doesn't have the skip logic, > when the first task to visit is a non-leader thread, it doesn't get > skipped correctly as shown in the following example.
Applied to cgroup/for-4.20-fixes.
Thanks.
-- tejun
| ![\](/images/icornerr.gif) |