]> git.baikalelectronics.ru Git - kernel.git/commit
net: rfkill: move poll work to power efficient workqueue
authorShaibal Dutta <shaibal.dutta@broadcom.com>
Thu, 30 Jan 2014 22:43:34 +0000 (14:43 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:58:16 +0000 (21:58 +0100)
commit3585f17db7be74e788ff290969e47c20305bb08b
treedfbb6acb68b824afdab6d106da35b5b7cddd024b
parent1d44aa7eb9e46a2b97d8315636e3fcaa8f561910
net: rfkill: move poll work to power efficient workqueue

This patch moves the rfkill poll_work to the power efficient workqueue.
This work does not have to be bound to the CPU that scheduled it, hence
the selection of CPU that executes it would be left to the scheduler.
Net result is that CPU idle times would be extended, resulting in power
savings.

This behaviour is enabled when CONFIG_WQ_POWER_EFFICIENT is selected.

Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Shaibal Dutta <shaibal.dutta@broadcom.com>
[zoran.markovic@linaro.org: Rebased to latest kernel, added commit message.
Fixed workqueue selection after suspend/resume cycle.]
Signed-off-by: Zoran Markovic <zoran.markovic@linaro.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/core.c