lkml.org 
[lkml]   [2012]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] blk-cgroup: Call cgroup_path only under cgroup lock
Hello, Sasha.

On Mon, Mar 12, 2012 at 04:01:18PM -0400, Sasha Levin wrote:
> Since we can't keep rcu read lock during blkg_alloc(), we currently
> call cgroup_path() without any locks at all.
>
> This patch adds cgroup locking before calling cgroup_path.
>
> This also fixes a lockdep warning on boot.
>
> Signed-off-by: Sasha Levin <levinsasha928@gmail.com>

Which branch is this against? There's already pending stat update
patch from Vivek which fix this problem along with the percpu
allocation problem.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-03-12 19:07    [W:0.030 / U:0.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site