Re: [PATCH] sched/task_struct: Move alloc_tag to the end of the struct.
From: Sebastian Andrzej Siewior
Date: Sun Jun 30 2024 - 17:11:59 EST
On 2024-06-28 16:20:27 [-0400], Kent Overstreet wrote:
> > Kent, you said you didn't want it where it currently is. Fine. You said
> > you want it at the front next to `flags'. This isn't going to work since
> > there is no space left. You didn't make another suggestion or say how to
> > make room.
>
> It doesn't need to be on the exact same cacheline, just as near as you
> can get it.
the first possible thing would be somewhere after the scheduler.
However, what difference does it make if it s two cache lines later or
more? I don't understand the requirement "closer".
Sebastian