summaryrefslogtreecommitdiffstats
path: root/scripts/bloat-o-meter
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-09 17:05:13 +0100
committerTejun Heo <tj@kernel.org>2013-01-09 17:05:13 +0100
commit810ecfa765f8be20c8d9c468885b3403a2232d2f (patch)
tree0c9173defed8de28cf43d972b8e36b48fbcc6f24 /scripts/bloat-o-meter
parentblock: RCU free request_queue (diff)
downloadlinux-810ecfa765f8be20c8d9c468885b3403a2232d2f.tar.xz
linux-810ecfa765f8be20c8d9c468885b3403a2232d2f.zip
blkcg: make blkcg_print_blkgs() grab q locks instead of blkcg lock
Instead of holding blkcg->lock while walking ->blkg_list and executing prfill(), RCU walk ->blkg_list and hold the blkg's queue lock while executing prfill(). This makes prfill() implementations easier as stats are mostly protected by queue lock. This will be used to implement hierarchical stats. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'scripts/bloat-o-meter')
0 files changed, 0 insertions, 0 deletions