Re: [PATCH v12 4/8] cgroup, block: implement task_get_css() and use it in bio_associate_current()

From: Tejun Heo
Date: Mon May 18 2015 - 17:59:20 EST


On Tue, May 19, 2015 at 12:51:03AM +1000, Aleksa Sarai wrote:
> From: Tejun Heo <tj@xxxxxxxxxx>
>
> bio_associate_current() currently open codes task_css() and
> css_tryget_online() to find and pin $current's blkcg css. Abstract it
> into task_get_css() which is implemented from cgroup side. 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.
>
> This is a cleanup and shouldn't lead to noticeable behavior changes.

Applied 1-4 but skipped bio_associate_current() changes from this
patch. I'll route that part through a different patchset.

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/