netfilter: conntrack: use power efficient workqueue
authorVincent Guittot <vincent.guittot@linaro.org>
Thu, 2 Nov 2017 15:16:07 +0000 (16:16 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Nov 2017 23:59:10 +0000 (00:59 +0100)
commit0984d427c1d3cb2aa882c9ad9e787ba973cf2915
tree5332efb5a104e672b1d356d3fa7f8a47f57c49e4
parent7e35ec0e8044f1ede852f55948f71a1963903219
netfilter: conntrack: use power efficient workqueue

conntrack uses the bounded system_long_wq workqueue for its works that
don't have to run on the cpu they have been queued.
Using bounded workqueue prevents the scheduler to make smart decision about
the best place to schedule the work.

This patch replaces system_long_wq with system_power_efficient_wq. the work
stays bounded to a cpu by default unless the CONFIG_WQ_POWER_EFFICIENT is
enable. In the latter case, the work can be scheduled on the best cpu from
a power or a performance point of view.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c