Re: [PATCH] blk-cgroup: Fix RCU correctness warning in cfq_init_queue()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Thursday, April 22, 2010 - 5:17 pm

On Thu, Apr 22, 2010 at 07:55:55PM -0400, Vivek Goyal wrote:

OK, in that case, would it be possible add this spinlock to the condition
checked by css_id()'s rcu_dereference_check()?  At first glance, css_id()
needs to gain access to the blkio_cgroup structure that references
the cgroup_subsys_state structure passed to css_id().

This means that there is only one blkio_cgroup structure referencing
a given cgroup_subsys_state structure, right?  Otherwise, we could still
have concurrent access.

							Thanx, Paul

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] blk-cgroup: Fix RCU correctness warning in cfq ..., Paul E. McKenney, (Thu Apr 22, 5:17 pm)
Re: [PATCH] blk-cgroup: Fix RCU correctness warning in cfq ..., Paul E. McKenney, (Fri Apr 23, 12:46 pm)