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

From: Jens Axboe
Date: Fri May 07 2010 - 02:57:48 EST


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

--
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/