Thread (31 messages) 31 messages, 9 authors, 2018-08-06

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

From: Eric Dumazet <hidden>
Date: 2018-08-01 16:26:02
Also in: dri-devel, intel-gfx, linux-ext4, linux-mm, lkml, netfilter-devel


On 08/01/2018 09:22 AM, Christopher Lameter wrote:
On Wed, 1 Aug 2018, Eric Dumazet wrote:
quoted
The idea of having a ctor() would only be a win if all the fields that
can be initialized in the ctor are contiguous and fill an integral
number of cache lines.
Ok. Its reducing code size and makes the object status more consistent.
Isn't that enough?
Prove it ;)

I yet have to seen actual numbers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help