Messages in this thread |  | | | Date | Thu, 2 Feb 2012 17:07:14 -0500 | | From | Vivek Goyal <> | | Subject | Re: [PATCH 06/11] blkcg: move refcnt to blkcg core |
| |
On Wed, Feb 01, 2012 at 01:19:11PM -0800, Tejun Heo wrote: > Currently, blkcg policy implementations manage blkg refcnt duplicating > mostly identical code in both policies. This patch moves refcnt to > blkg and let blkcg core handle refcnt and freeing of blkgs. > > * cfq blkgs now also get freed via RCU.
This can lead to situation where cfq root group (policy data) is still around (yet to be freed after rcu perioed) but cfq has gone away (cfq_exit_queue() followed by cfq_exit()). Does it matter? If some future code is accessing cfqg under rcu, it can become a problem.
Thanks Vivek
|  |