summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-04-01 23:38:44 +0200
committerTejun Heo <tj@kernel.org>2012-04-01 23:38:44 +0200
commit629ed0b10209ffc4e1d439e5508d52d5e3a090b8 (patch)
tree69caa493e4ea0714aff247c8415c4fef7ebfe996 /drivers/acpi/power.c
parentcfq: collapse cfq.h into cfq-iosched.c (diff)
downloadlinux-629ed0b10209ffc4e1d439e5508d52d5e3a090b8.tar.xz
linux-629ed0b10209ffc4e1d439e5508d52d5e3a090b8.zip
blkcg: move statistics update code to policies
As with conf/stats file handling code, there's no reason for stat update code to live in blkcg core with policies calling into update them. The current organization is both inflexible and complex. This patch moves stat update code to specific policies. All blkiocg_update_*_stats() functions which deal with BLKIO_POLICY_PROP stats are collapsed into their cfq_blkiocg_update_*_stats() counterparts. blkiocg_update_dispatch_stats() is used by both policies and duplicated as throtl_update_dispatch_stats() and cfq_blkiocg_update_dispatch_stats(). This will be cleaned up later. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/acpi/power.c')
0 files changed, 0 insertions, 0 deletions