• Paul E. McKenney's avatar
    mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCU · 5f0d5a3a
    Paul E. McKenney authored
    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: default avatarPaul 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: default avatarJohannes Weiner <hannes@cmpxchg.org>
    Acked-by: default avatarVlastimil 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: default avatarDavid Rientjes <rientjes@google.com>
    5f0d5a3a
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
af_llc.c Loading commit data...
llc_c_ac.c Loading commit data...
llc_c_ev.c Loading commit data...
llc_c_st.c Loading commit data...
llc_conn.c Loading commit data...
llc_core.c Loading commit data...
llc_if.c Loading commit data...
llc_input.c Loading commit data...
llc_output.c Loading commit data...
llc_pdu.c Loading commit data...
llc_proc.c Loading commit data...
llc_s_ac.c Loading commit data...
llc_s_ev.c Loading commit data...
llc_s_st.c Loading commit data...
llc_sap.c Loading commit data...
llc_station.c Loading commit data...
sysctl_net_llc.c Loading commit data...