Re: [PATCH v2] Reorder some fields in struct rq.
From: Josh Don
Date: Wed Aug 20 2025 - 20:12:43 EST
Hi Blake,
On Wed, Jul 30, 2025 at 1:56 PM Blake Jones <blakejones@xxxxxxxxxx> wrote:
>
> This colocates some hot fields in "struct rq" to be on the same cache line
> as others that are often accessed at the same time or in similar ways.
>
Thanks for the analysis and this patch.
I was going to suggest ____cacheline_aligned_in_smp, but it'll behave
nearly identical in practice so it doesn't matter (would save 64 bytes
on a 128 byte cacheline UP system).
Peter, any thoughts on this patch?
Best,
Josh