Re: [PATCH RFC] mm: Rename SLAB_DESTROY_BY_RCU to SLAB_TYPESAFE_BY_RCU

From: Christoph Lameter
Date: Wed Jan 18 2017 - 19:00:32 EST


On Wed, 18 Jan 2017, Paul E. McKenney wrote:

> Actually, slab is using RCU to provide type safety to those slab users
> who request it.

Typesafety is a side effect. The main idea here is that the object can
still be accessed in RCU sections after another processor frees the
object. We guarantee that the object is not freed but it may be reused
for another object within the RCU period.

Can we have a name that expresses all of that properly?