Skip to content

Commit

Permalink
net: sched: RCU cls_route
Browse files Browse the repository at this point in the history
RCUify the route classifier. For now however spinlock's are used to
protect fastmap cache.

The issue here is the fastmap may be read by one CPU while the
cache is being updated by another. An array of pointers could be
one possible solution.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
John Fastabend authored and David S. Miller committed Sep 13, 2014
1 parent e35a8ee commit 1109c00
Showing 1 changed file with 132 additions and 94 deletions.
Loading

0 comments on commit 1109c00

Please sign in to comment.