]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - block/blk-core.c
block: queue work on power efficient wq
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 24 Apr 2013 11:42:56 +0000 (17:12 +0530)
committerTejun Heo <tj@kernel.org>
Tue, 14 May 2013 17:50:07 +0000 (10:50 -0700)
commit695588f9454bdbc7c1a2fbb8a6bfdcfba6183348
tree4a9963696a82937133acaa8ea682c88ff3d798af
parentbbb47bdeae756f04b896b55b51f230f3eb21f207
block: queue work on power efficient wq

Block layer uses workqueues for multiple purposes. There is no real dependency
of scheduling these on the cpu which scheduled them.

On a idle system, it is observed that and idle cpu wakes up many times just to
service this work. It would be better if we can schedule it on a cpu which the
scheduler believes to be the most appropriate one.

This patch replaces normal workqueues with power efficient versions.

Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
block/blk-core.c
block/blk-ioc.c
block/genhd.c