Skip to content

Commit

Permalink
[IPV4]: Convert FIB Trie to RCU.
Browse files Browse the repository at this point in the history
* Removes RW-lock
* Proteced read functions uses
  rcu_dereference proteced with rcu_read_lock()
* writing of procted pointer w. rcu_assigen_pointer
* Insert/Replace atomic list_replace_rcu
* A BUG_ON condition removed.in trie_rebalance

With help from Paul E. McKenney.

Signed-off-by: Robert Olsson <Robert.Olsson@data.slu.se>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Robert Olsson authored and David S. Miller committed Aug 29, 2005
1 parent e5b4376 commit 2373ce1
Showing 1 changed file with 202 additions and 187 deletions.
Loading

0 comments on commit 2373ce1

Please sign in to comment.