linux/Documentation/RCU
Paul E. McKenney 99cf092058 doc: SLAB_TYPESAFE_BY_RCU uses cannot rely on spinlocks
Because the SLAB_TYPESAFE_BY_RCU code does not zero pages that are
to be broken up into slabs, the memory returned by kmem_cache_alloc()
must be fully initialized, including any spinlocks included in the newly
allocated structure.  This means that readers attempting to look up an
SLAB_TYPESAFE_BY_RCU object must use a reference-counting approach.
A spinlock may be acquired only after a reference is obtained, which
prevents that object from being passed to kmem_struct_free(), but only
while that reference continues to be held.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2022-08-31 04:58:15 -07:00
..
Design context_tracking: Take NMI eqs entrypoints over RCU 2022-07-05 13:32:59 -07:00
arrayRCU.rst docs: Update RCU cross-references as suggested in doc-guide 2022-04-20 16:13:52 -07:00
checklist.rst doc: Use rcu_barrier() to rate-limit RCU callbacks 2022-08-31 04:58:15 -07: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 drivers: Remove CONFIG_OPROFILE support 2021-01-29 10:06:24 +05:30
rcu_dereference.rst doc: Update rcu_access_pointer() advice in rcu_dereference.rst 2022-08-31 04:58:15 -07:00
rcu.rst docs: Update RCU cross-references as suggested in doc-guide 2022-04-20 16:13:52 -07:00
rcubarrier.rst doc: Use CONFIG_PREEMPTION 2021-01-06 16:10:44 -08:00
rculist_nulls.rst docs: Update RCU cross-references as suggested in doc-guide 2022-04-20 16:13:52 -07:00
rcuref.rst docs: RCU: Convert rcuref.txt to ReST 2020-06-29 11:58:11 -07:00
RTFP.txt docs: Correctly spell Stephen Hemminger's name 2021-03-15 13:53:24 -07:00
stallwarn.rst rcu/context-tracking: Remove unused and/or unecessary middle functions 2022-07-05 13:33:00 -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 doc: SLAB_TYPESAFE_BY_RCU uses cannot rely on spinlocks 2022-08-31 04:58:15 -07:00