2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 10:13:58 +08:00
linux-next/Documentation/RCU
Paul E. McKenney d756c74e6f doc: Update RCU requirements RCU_INIT_POINTER() description
Back in the day, RCU_INIT_POINTER() was the only way to avoid
memory-barrier instructions while storing NULL to an RCU-protected
pointer.  Fortunately, in 2016, rcu_assign_pointer() started checking for
compile-time NULL pointers and omitting the memory-barrier instructions in
that case.  Unfortunately, RCU's Requirements.rst document was not updated
accordingly.  This commit therefore at long last carries out that update.

Fixes: 3a37f7275c ("rcu: No ordering for rcu_assign_pointer() of NULL")
Link: https://lore.kernel.org/lkml/20201209230755.GV7338@casper.infradead.org/
Reported-by: Matthew Wilcox <willy@infradead.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-01-04 13:35:15 -08:00
..
Design doc: Update RCU requirements RCU_INIT_POINTER() description 2021-01-04 13:35:15 -08:00
arrayRCU.rst doc: Convert arrayRCU.txt to arrayRCU.rst 2019-12-10 18:51:19 -08:00
checklist.rst docs: Fix typos and drop/fix dead links in RCU documentation 2021-01-04 13:35:14 -08:00
index.rst docs: RCU: Convert stallwarn.txt to ReST 2020-06-29 11:58:11 -07:00
listRCU.rst doc/RCU/listRCU: Update example function name 2020-02-27 07:03:13 -08:00
lockdep-splat.rst docs: RCU: Convert lockdep-splat.txt to ReST 2020-06-29 11:58:10 -07:00
lockdep.rst docs: Fix function name trailing double-()s 2020-08-24 17:19:07 -06:00
NMI-RCU.rst doc: Converted NMI-RCU.txt to NMI-RCU.rst. 2019-12-10 18:51:52 -08:00
rcu_dereference.rst doc: Present the role of READ_ONCE() 2020-11-02 17:07:15 -08:00
rcu.rst doc/RCU/rcu: Use https instead of http if possible 2020-02-27 07:03:13 -08:00
rcubarrier.rst doc: Convert to rcubarrier.txt to ReST 2019-12-10 18:51:53 -08:00
rculist_nulls.rst docs: RCU: Don't duplicate chapter names in rculist_nulls.rst 2020-06-29 11:58:11 -07:00
rcuref.rst docs: RCU: Convert rcuref.txt to ReST 2020-06-29 11:58:11 -07:00
RTFP.txt Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
stallwarn.rst doc: Timer problems can cause RCU CPU stall warnings 2020-06-29 11:58:11 -07:00
torture.rst docs: RCU: Convert torture.txt to ReST 2020-06-29 11:58:11 -07:00
UP.rst doc: RCU callback locks need only _bh, not necessarily _irq 2019-06-28 09:10:40 -06:00
whatisRCU.rst docs/rcu: Update the call_rcu() API 2020-11-06 17:02:43 -08:00