]> 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)
commit5cea897b44c1785e376a4baf24f93175994b9cc8
tree38e34a23d1e9179b55a256bb021155b3a9f6e316
parent206b977ac57dd5cab411eeedfd4d9321ccd5badb
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