Introduce rb_replace_node_rcu()
authorDavid Howells <dhowells@redhat.com>
Fri, 1 Jul 2016 06:53:51 +0000 (07:53 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Jul 2016 09:51:14 +0000 (10:51 +0100)
commitc1adf20052d80f776849fa2c1acb472cdeb7786c
treee73407fdc52ab77e9666ae7798c8b38b6da1ed09
parent1291e9d1084506c5cba6313ce809d7516bb5868a
Introduce rb_replace_node_rcu()

Implement an RCU-safe variant of rb_replace_node() and rearrange
rb_replace_node() to do things in the same order.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
include/linux/rbtree.h
include/linux/rbtree_augmented.h
lib/rbtree.c