doc: Update recent SRCU API additions to whatisRCU.rst
Subsystems (2)
Zqiang
reviewerPATCH 1/1 doc: Update recent SRCU API additions to whatisRCU.rst
The commit 'dab06d6f9379 ("srcutree: Add an atomic Tree SRCU")' introduces some new APIs:
srcu_read_lock_atomicsrcu_read_unlock_atomicsynchronize_srcu_atomicDEFINE_SRCU_ATOMICDEFINE_STATIC_SRCU_ATOMICinit_srcu_struct_atomic
This commit therefore update thems to whatisRCU.rst.
--- Documentation/RCU/whatisRCU.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Documentation/RCU/whatisRCU.rst +6 -1
@@ -1209,11 +1209,13 @@ SRCU:: srcu_read_lock_nmisafe start_poll_synchronize_srcu srcu_read_unlock_nmisafe start_poll_synchronize_srcu_expedited srcu_read_lock_notrace poll_state_synchronize_srcu - srcu_read_unlock_notrace + srcu_read_unlock_notrace synchronize_srcu_atomic srcu_down_read srcu_up_read srcu_down_read_fast srcu_up_read_fast + srcu_read_lock_atomic + srcu_read_unlock_atomic guard(srcu)() scoped_guard(srcu) srcu_read_lock_held
@@ -1229,8 +1231,11 @@ SRCU: Initialization/cleanup/ordering:: DEFINE_STATIC_SRCU DEFINE_SRCU_FAST // for srcu_read_lock_fast() and friends DEFINE_STATIC_SRCU_FAST // for srcu_read_lock_fast() and friends + DEFINE_SRCU_ATOMIC + DEFINE_STATIC_SRCU_ATOMIC init_srcu_struct init_srcu_struct_fast + init_srcu_struct_atomic cleanup_srcu_struct smp_mb__after_srcu_read_unlock
Signature · 1 line
2.17.1
Quoted 10 lines · Zqiang
The commit '
dab06d6f9379("srcutree: Add an atomic Tree SRCU")' introduces some new APIs:
srcu_read_lock_atomicsrcu_read_unlock_atomicsynchronize_srcu_atomicDEFINE_SRCU_ATOMICDEFINE_STATIC_SRCU_ATOMICinit_srcu_struct_atomic
Quoted 3 lines
This commit therefore update thems to
whatisRCU.rst.Signed-off-by Zqiang <[email protected]>
Applying for 7.5.
thanks,
Joel Fernandes
Quoted 38 lines
--- Documentation/RCU/whatisRCU.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)Documentation/RCU/whatisRCU.rst +6
-1@@ -1209,11 +1209,13 @@ SRCU:: srcu_read_lock_nmisafe start_poll_synchronize_srcu srcu_read_unlock_nmisafe start_poll_synchronize_srcu_expedited srcu_read_lock_notrace poll_state_synchronize_srcu - srcu_read_unlock_notrace + srcu_read_unlock_notrace synchronize_srcu_atomic srcu_down_read srcu_up_read srcu_down_read_fast srcu_up_read_fast + srcu_read_lock_atomic + srcu_read_unlock_atomic guard(srcu)() scoped_guard(srcu) srcu_read_lock_held@@ -1229,8 +1231,11 @@ SRCU: Initialization/cleanup/ordering:: DEFINE_STATIC_SRCU DEFINE_SRCU_FAST // for srcu_read_lock_fast() and friends DEFINE_STATIC_SRCU_FAST // for srcu_read_lock_fast() and friends + DEFINE_SRCU_ATOMIC + DEFINE_STATIC_SRCU_ATOMIC init_srcu_struct init_srcu_struct_fast + init_srcu_struct_atomic cleanup_srcu_struct smp_mb__after_srcu_read_unlockSignature · 1 line
2.17.1
Quoted 52 lines · Zqiang
The commit '
dab06d6f9379("srcutree: Add an atomic Tree SRCU")' introduces some new APIs:
srcu_read_lock_atomicsrcu_read_unlock_atomicsynchronize_srcu_atomicDEFINE_SRCU_ATOMICDEFINE_STATIC_SRCU_ATOMICinit_srcu_struct_atomicThis commit therefore update thems to
whatisRCU.rst.Signed-off-by Zqiang <[email protected]>--- Documentation/RCU/whatisRCU.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)Documentation/RCU/whatisRCU.rst +6
-2@@ -1209,11 +1209,13 @@ SRCU:: srcu_read_lock_nmisafe start_poll_synchronize_srcu srcu_read_unlock_nmisafe start_poll_synchronize_srcu_expedited srcu_read_lock_notrace poll_state_synchronize_srcu - srcu_read_unlock_notrace + srcu_read_unlock_notrace synchronize_srcu_atomic srcu_down_read srcu_up_read srcu_down_read_fast srcu_up_read_fast + srcu_read_lock_atomic + srcu_read_unlock_atomic guard(srcu)() scoped_guard(srcu) srcu_read_lock_held@@ -1229,8 +1231,11 @@ SRCU: Initialization/cleanup/ordering:: DEFINE_STATIC_SRCU DEFINE_SRCU_FAST // for srcu_read_lock_fast() and friends DEFINE_STATIC_SRCU_FAST // for srcu_read_lock_fast() and friends + DEFINE_SRCU_ATOMIC + DEFINE_STATIC_SRCU_ATOMIC init_srcu_struct init_srcu_struct_fast + init_srcu_struct_atomic cleanup_srcu_struct smp_mb__after_srcu_read_unlock --2.17.1
Zqiang
reviewerQuoted 14 lines · Zqiang
Quoted 12 lines
The commit '
dab06d6f9379("srcutree: Add an atomic Tree SRCU")'
introduces some new APIs:
srcu_read_lock_atomic
srcu_read_unlock_atomic
synchronize_srcu_atomic
DEFINE_SRCU_ATOMIC
DEFINE_STATIC_SRCU_ATOMIC
init_srcu_struct_atomic
Quoted 5 lines
Quoted 4 lines
This commit therefore update thems to
whatisRCU.rst.Signed-off-by Zqiang <[email protected]>Reviewed-by Joel Fernandes <[email protected]>
Hi, Joel
I have been update v2 resend.
Thanks
Quoted 47 lines
Applying for 7.5.
thanks,
Joel Fernandes
Quoted 39 lines
--- Documentation/RCU/whatisRCU.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)diff --git
a/Documentation/RCU/whatisRCU.rstb/Documentation/RCU/whatisRCU.rstindexe6767baff2d3..75c50f2f6d79100644
---a/Documentation/RCU/whatisRCU.rst
+++b/Documentation/RCU/whatisRCU.rst
@@ -1209,11 +1209,13 @@ SRCU::
srcu_read_lock_nmisafestart_poll_synchronize_srcusrcu_read_unlock_nmisafestart_poll_synchronize_srcu_expeditedsrcu_read_lock_notracepoll_state_synchronize_srcu
-srcu_read_unlock_notrace
+srcu_read_unlock_notracesynchronize_srcu_atomic
srcu_down_read
srcu_up_read
srcu_down_read_fast
srcu_up_read_fast
+srcu_read_lock_atomic
+srcu_read_unlock_atomic
guard(srcu)()
scoped_guard(srcu)
srcu_read_lock_held
@@ -1229,8 +1231,11 @@ SRCU: Initialization/cleanup/ordering::
DEFINE_STATIC_SRCU
DEFINE_SRCU_FAST// forsrcu_read_lock_fast()and friendsDEFINE_STATIC_SRCU_FAST// forsrcu_read_lock_fast()and friends
+DEFINE_SRCU_ATOMIC
+DEFINE_STATIC_SRCU_ATOMIC
init_srcu_struct
init_srcu_struct_fast
+init_srcu_struct_atomic
cleanup_srcu_struct
smp_mb__after_srcu_read_unlock--
2.17.1