summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7a0b233)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
/* add node */
ret = _ja_node_set_nth(new_node_flag, n, child_node_flag);
assert(!ret);
/* add node */
ret = _ja_node_set_nth(new_node_flag, n, child_node_flag);
assert(!ret);
+ /* Replace the old node with the new recompacted one */
+ rcu_assign_pointer(*old_node_flag, new_node_flag);
+ /* TODO: free old_node (call_rcu) */