From: Sven Eckelmann Date: Sat, 18 Sep 2010 19:01:18 +0000 (+0200) Subject: Staging: batman-adv: Use synchronize_rcu instead of call_rcu X-Git-Tag: v2.6.37-rc1~60^2~3^2~547 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16f9530e99f5eb35dd1adafbae854dd94f8d3751;p=pandora-kernel.git Staging: batman-adv: Use synchronize_rcu instead of call_rcu It is recommended [1] to use synchronize_rcu to simplify the code - especially when otherwise extra locking is needed to protect other code from picking stale elements. It also protects us for emitting to many callbacks which may results in OOM conditions. The only reason not to use it, would be in performance critical sections or when we are not allowed to block. [1] Documentation/RCU/checklist.txt Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed