lkml.org 
[lkml]   [2015]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-05-19 00:01    [W:0.134 / U:2.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site