Messages in this thread | | | Date | Mon, 18 May 2015 17:59:07 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH v12 4/8] cgroup, block: implement task_get_css() and use it in bio_associate_current() |
| |
On Tue, May 19, 2015 at 12:51:03AM +1000, Aleksa Sarai wrote: > From: Tejun Heo <tj@kernel.org> > > 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
| |