[PATCH 07/13] defer/rcuusage: Provide the reference to synchronous RCU update-side primitives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: SeongJae Park <sj38.park@xxxxxxxxx>

'Deadlock Immunity' paragraph prohibits synchronous RCU update-side
primitives within RCU read-side critical section.  This means those in
'RCU Wait-to-Finish APIs' table, but someone might think those as
general RCU update-side primitives like 'rcu_assign_pointer()'.  To make
it clear, provide the reference to the table.

Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx>
---
 defer/rcuusage.tex | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex
index 8c45093f..18abf340 100644
--- a/defer/rcuusage.tex
+++ b/defer/rcuusage.tex
@@ -1209,7 +1209,9 @@ rcu_read_unlock();
 	result of the grace period completing.
 	Plus Linux kernel's lockdep facility will yell at you.
 
-	In short, do not invoke synchronous RCU update-side primitives
+	In short, do not invoke synchronous RCU update-side primitives, which
+	are listed in
+	\cref{tab:defer:RCU Wait-to-Finish APIs},
 	from within an RCU read-side critical section.
 
 	In addition, within the Linux kernel, RCU uses the scheduler
-- 
2.17.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux