Staging: batman-adv: Add rcu TODO
authorSven Eckelmann <sven.eckelmann@gmx.de>
Sun, 12 Sep 2010 21:21:54 +0000 (23:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Sep 2010 23:38:32 +0000 (16:38 -0700)
Paul E. McKenney informed us that rcu is misused by leaking pointers to
rcu related elements outside read-side protected critical sections.

He also recommended that it should be checked against the rcu checklist.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/TODO

index 1457c7fc55326ecb674137a62ef90acf632912f1..3af8028d959428730157218fdc2a064e71f6c94b 100644 (file)
@@ -1,3 +1,8 @@
+ * Rework usage of RCU
+    - don't leak pointers from rcu out of rcu critical area which may
+      get freed
+    - check were synchronize_rcu must be used
+    - go through Documentation/RCU/checklist.txt
  * Request a new review
  * Process the comments from the review
  * Move into mainline proper