Re: [PATCH 5/5] blk-cgroup: Fix an RCU warning in blkiocg_create()

Jens Axboe
2010-05-07T06:57:44Z

On Fri, May 07 2010, Li Zefan wrote:
> Paul E. McKenney wrote:
> > On Thu, Apr 22, 2010 at 05:32:28PM +0800, Li Zefan wrote:
> >> with CONFIG_PROVE_RCU=y, a warning can be triggered:
> >>
> >> # mount -t cgroup -o blkio xxx /mnt
> >> # mkdir /mnt/subgroup
> >>
> >> ...
> >> kernel/cgroup.c:4442 invoked rcu_dereference_check() without protection!
> >> ...
> >>
> >> To fix this, we avoid caling css_depth() here, which is a bit simpler
> >> than the original code.
> >
> > Queued for 2.6.34, thank you!
> >
>
> Seems neither you nor Jens queued this patch...

I've included it now, thanks.

--
Jens Axboe