Re: SLAB_TYPESAFE_BY_RCU without constructors (was Re: [PATCH v4 13/17] khwasan: add hooks implementation)

From: Eric Dumazet
Date: Tue Jul 31 2018 - 13:42:09 EST


On Tue, Jul 31, 2018 at 10:36 AM Christopher Lameter <cl@xxxxxxxxx> wrote:

>
> If there is refcounting going on then why use SLAB_TYPESAFE_BY_RCU?

To allow fast reuse of objects, without going through call_rcu() and
reducing cache efficiency.

I believe this is mentioned in Documentation/RCU/rculist_nulls.txt