[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181120161319.GR2509588@devbig004.ftw2.facebook.com>
Date: Tue, 20 Nov 2018 08:13:19 -0800
From: Tejun Heo <tj@...nel.org>
To: "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
Cc: "open list:CONTROL GROUP (CGROUP)" <cgroups@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>, kernel-team@...com
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
Powered by blists - more mailing lists