Thread (1 message) 1 message, 1 author, 2011-08-08

Re: [PATCH 04/11] DIO: Use a slab cache for struct dio

From: Jeff Moyer <hidden>
Date: 2011-08-08 18:01:43
Also in: lkml

Andi Kleen [off-list ref] writes:
From: Andi Kleen <redacted>

A direct slab call is slightly faster than kmalloc and can be better cached
per CPU. It also avoids rounding to the next kmalloc slab.

In addition this enforces cache line alignment for struct dio to avoid
any false sharing.

Signed-off-by: Andi Kleen <redacted>
Acked-by: Jeff Moyer <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help