2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/Documentation/RCU
Wei Yang 79ea7f43f8 doc/RCU/listRCU: refine example code for eliminating stale data
This patch adjust the example code with following two purpose:

  * reduce the confusion on not releasing e->lock
  * emphasize e is valid and not stale with e->lock held

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Boqun Feng <boqun.feng@gmail.com>
CC: Alan Huang <mmpgouride@gmail.com>
Reviewed-by: Alan Huang <mmpgouride@gmail.com>
Link: https://lore.kernel.org/r/20250218005047.27258-1-richard.weiyang@gmail.com
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
2025-05-16 09:00:54 -04:00
..
Design Merge branches 'context_tracking.15.08.24a', 'csd.lock.15.08.24a', 'nocb.09.09.24a', 'rcutorture.14.08.24a', 'rcustall.09.09.24a', 'srcu.12.08.24a', 'rcu.tasks.14.08.24a', 'rcu_scaling_tests.15.08.24a', 'fixes.12.08.24a' and 'misc.11.08.24a' into next.09.09.24a 2024-09-09 00:09:47 +05:30
checklist.rst doc: Remove RCU Tasks Rude asynchronous APIs 2024-08-14 16:45:07 +05:30
index.rst doc: Remove arrayRCU.rst 2022-10-18 14:58:50 -07:00
listRCU.rst doc/RCU/listRCU: refine example code for eliminating stale data 2025-05-16 09:00:54 -04:00
lockdep-splat.rst documentation/rcu: Fix typo 2023-07-14 14:55:56 -07:00
lockdep.rst Documentation: RCU: Correct spelling 2023-04-05 13:47:18 +00:00
NMI-RCU.rst doc: Update NMI-RCU.rst 2023-01-03 17:27:37 -08:00
rcu_dereference.rst doc: Spinlocks are implied RCU readers 2024-02-14 07:53:49 -08:00
rcu.rst doc: Update rcu.rst URL to RCU publications 2023-01-05 11:27:56 -08:00
rcubarrier.rst rcu: Remove references to old grace-period-wait primitives 2025-02-04 21:50:06 -08:00
rculist_nulls.rst Docs/RCU/rculist_nulls: Fix text about atomic_set_release() 2023-07-14 14:55:57 -07:00
rcuref.rst docs: RCU: Convert rcuref.txt to ReST 2020-06-29 11:58:11 -07:00
RTFP.txt Documentation: RCU: Correct spelling 2023-04-05 13:47:18 +00:00
stallwarn.rst doc: Add broken-timing possibility to stallwarn.rst 2025-02-04 21:50:06 -08:00
torture.rst doc:it_IT: first translation for locking/ 2024-01-30 13:32:00 -07:00
UP.rst Documentation: RCU: Correct spelling 2023-04-05 13:47:18 +00:00
whatisRCU.rst doc: Update LWN RCU API links in whatisRCU.rst 2025-05-16 09:00:54 -04:00