Re: [PATCH v13 3/5] cgroup, block: implement task_get_css()

From: Tejun Heo
Date: Mon Jun 08 2015 - 05:22:22 EST


On Sat, Jun 06, 2015 at 10:02:16AM +1000, Aleksa Sarai wrote:
> From: Tejun Heo <tj@xxxxxxxxxx>
>
> Implement task_get_css() which find and pins the css for the specified
> task and subsys. As a task is always associated with an online css
> for every subsystem except while the css_set update is propagating,
> task_get_css() retries till css_tryget_online() succeeds.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Li Zefan <lizefan@xxxxxxxxxx>

Another form of this patch was already in block/for-4.2/writeback. I
cherry picked that commit into cgroup/for-4.2 to avoid pulling the
whole thing into cgroup tree.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/