On Tue, 07 Dec 2010 20:01:49 +0100
Gerald Schaefer <gerald.schaefer@de.ibm.com> wrote:
Hmm, in radix_tree_deref_slot() comment,
140 * For use with radix_tree_lookup_slot(). Caller must hold tree at least read
141 * locked across slot lookup and dereference. More likely, will be used with
142 * radix_tree_replace_slot(), as well, so caller will hold tree write locked.
racy update must not happen. rcu_dereference_protected() sounds nice.
Thanks,
-Kame
--