mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Paul E. McKenney](/assets/img/avatar_default.png)
A group of Linux kernel hackers reported chasing a bug that resulted from their assumption that SLAB_DESTROY_BY_RCU provided an existence guarantee, that is, that no block from such a slab would be reallocated during an RCU read-side critical section. Of course, that is not the case. Instead, SLAB_DESTROY_BY_RCU only prevents freeing of an entire slab of blocks. However, there is a phrase for this, namely "type safety". This commit therefore renames SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCU in order to avoid future instances of this sort of confusion. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: <linux-mm@kvack.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Vlastimil Babka <vbabka@suse.cz> [ paulmck: Add comments mentioning the old name, as requested by Eric Dumazet, in order to help people familiar with the old name find the new one. ] Acked-by: David Rientjes <rientjes@google.com>
36 lines
991 B
Text
36 lines
991 B
Text
00-INDEX
|
|
- This file
|
|
arrayRCU.txt
|
|
- Using RCU to Protect Read-Mostly Arrays
|
|
checklist.txt
|
|
- Review Checklist for RCU Patches
|
|
listRCU.txt
|
|
- Using RCU to Protect Read-Mostly Linked Lists
|
|
lockdep.txt
|
|
- RCU and lockdep checking
|
|
lockdep-splat.txt
|
|
- RCU Lockdep splats explained.
|
|
NMI-RCU.txt
|
|
- Using RCU to Protect Dynamic NMI Handlers
|
|
rcu_dereference.txt
|
|
- Proper care and feeding of return values from rcu_dereference()
|
|
rcubarrier.txt
|
|
- RCU and Unloadable Modules
|
|
rculist_nulls.txt
|
|
- RCU list primitives for use with SLAB_TYPESAFE_BY_RCU
|
|
rcuref.txt
|
|
- Reference-count design for elements of lists/arrays protected by RCU
|
|
rcu.txt
|
|
- RCU Concepts
|
|
RTFP.txt
|
|
- List of RCU papers (bibliography) going back to 1980.
|
|
stallwarn.txt
|
|
- RCU CPU stall warnings (module parameter rcu_cpu_stall_suppress)
|
|
torture.txt
|
|
- RCU Torture Test Operation (CONFIG_RCU_TORTURE_TEST)
|
|
trace.txt
|
|
- CONFIG_RCU_TRACE debugfs files and formats
|
|
UP.txt
|
|
- RCU on Uniprocessor Systems
|
|
whatisRCU.txt
|
|
- What is RCU?
|