Re: [PATCH 3/3 v3] net/macb: Try to optimize struct macb layout

From: Nicolas Ferre
Date: Tue May 28 2013 - 04:08:51 EST


On 15/05/2013 11:37, David Laight :
From: Havard Skinnemoen <havard@xxxxxxxxxxxxxx>

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.

I do not know if that was really needed, it was a recommendation by Ben.
(previous email here:
https://patchwork.kernel.org/patch/1887101/
)

Anyway, it seems that this patch needs more work whereas the others of the series are not commented.

So maybe, I can resend patches 1, 2 for making this big enhancement go forward (as it is in review process for quite a long time...).
David, do you want me to resend or can you retrieve these v3 patches in patchwork?

Best regards,
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/