• viresh kumar's avatar
    net/neighbour: queue work on power efficient wq · f618002b
    viresh kumar authored
    Workqueue used in neighbour layer have no real dependency of scheduling these on
    the cpu which scheduled them.
    
    On a idle system, it is observed that an 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. This
    doesn't change existing behavior of code unless CONFIG_WQ_POWER_EFFICIENT is
    enabled.
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f618002b
neighbour.c 76.1 KB