2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00
linux-next/net/smc
Paul E. McKenney 5f0d5a3ae7 mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCU
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>
2017-04-18 11:42:36 -07:00
..
af_smc.c mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCU 2017-04-18 11:42:36 -07:00
Kconfig smc: netlink interface for SMC sockets 2017-01-09 16:07:41 -05:00
Makefile smc: netlink interface for SMC sockets 2017-01-09 16:07:41 -05:00
smc_cdc.c smc: socket closing and linkgroup cleanup 2017-01-09 16:07:40 -05:00
smc_cdc.h smc: socket closing and linkgroup cleanup 2017-01-09 16:07:40 -05:00
smc_clc.c sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h> 2017-03-03 01:43:37 +01:00
smc_clc.h smc: link layer control (LLC) 2017-01-09 16:07:40 -05:00
smc_close.c sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h> 2017-03-03 01:43:37 +01:00
smc_close.h smc: socket closing and linkgroup cleanup 2017-01-09 16:07:40 -05:00
smc_core.c smc: some potential use after free bugs 2017-01-30 16:37:55 -05:00
smc_core.h smc: link layer control (LLC) 2017-01-09 16:07:40 -05:00
smc_diag.c smc: netlink interface for SMC sockets 2017-01-09 16:07:41 -05:00
smc_ib.c smc: initialize IB transport incl. PD, MR, QP, CQ, event, WR 2017-01-09 16:07:39 -05:00
smc_ib.h smc: ETH_ALEN as memcpy length for mac addresses 2017-01-12 09:47:01 -05:00
smc_llc.c smc: link layer control (LLC) 2017-01-09 16:07:40 -05:00
smc_llc.h smc: link layer control (LLC) 2017-01-09 16:07:40 -05:00
smc_pnet.c smc: establish pnet table management 2017-01-09 16:07:38 -05:00
smc_pnet.h smc: establish pnet table management 2017-01-09 16:07:38 -05:00
smc_rx.c sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h> 2017-03-03 01:43:37 +01:00
smc_rx.h smc: receive data from RMBE 2017-01-09 16:07:40 -05:00
smc_tx.c sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h> 2017-03-03 01:43:37 +01:00
smc_tx.h smc: receive data from RMBE 2017-01-09 16:07:40 -05:00
smc_wr.c smc: socket closing and linkgroup cleanup 2017-01-09 16:07:40 -05:00
smc_wr.h smc: socket closing and linkgroup cleanup 2017-01-09 16:07:40 -05:00
smc.h smc: netlink interface for SMC sockets 2017-01-09 16:07:41 -05:00