]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitced273eacfe1876e2c3c4ea1244a2e386e20eadb
tree38e34a23d1e9179b55a256bb021155b3a9f6e316
parent734534e9a8e537d33d3598fa03b98eb089819961
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