]> git.baikalelectronics.ru Git - kernel.git/commit
sched: act: ife: migrate to use per-cpu counters
authorAlexander Aring <aring@mojatatu.com>
Wed, 11 Oct 2017 21:16:07 +0000 (17:16 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2017 05:23:03 +0000 (22:23 -0700)
commit2f58af3fca8500b3080a2b99fd49ec2f9bbab256
tree38e34a23d1e9179b55a256bb021155b3a9f6e316
parenta51b86387570643757d876db6d14adfb1a9c7970
sched: act: ife: migrate to use per-cpu counters

This patch migrates the current counter handling which is protected by a
spinlock to a per-cpu counter handling. This reduce the time where the
spinlock is being held.

Signed-off-by: Alexander Aring <aring@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ife.c