[PATCH 3/3 v3] net/macb: Try to optimize struct macb layout
David Laight
David.Laight at ACULAB.COM
Wed May 15 05:37:22 EDT 2013
> From: Havard Skinnemoen <havard at skinnemoen.net>
> Move the NAPI struct below that since it is used
> from the interrupt handler. This field is also marked as
> ___cacheline_aligned_in_smp.
Is that a good idea if the cache line size is 256 bytes?
Indeed is that ever sane - except for a few special structures
that really need it, and are guaranteed to be allocated
with that much alignment.
David
More information about the linux-arm-kernel
mailing list