Re: [PATCH v4] sched: reorder some fields in struct rq
From: Blake Jones
Date: Thu Oct 30 2025 - 02:54:07 EST
Hi Madadi,
On Wed, Oct 29, 2025 at 11:29 PM Madadi Vineeth Reddy
<vineethr@xxxxxxxxxxxxx> wrote:
> Quick question about the lock placement: Did you test Peter's suggestion of
> co-locating __lock with the clock fields? If so, how did it compare to keeping
> them separate?
I didn't test it (and thus I didn't make the change). Measuring the
real impact of that change seems sufficiently subtle that I wouldn't
trust any microbenchmarks to tell me anything useful about it. I'd
like to get some data from a real-world deployment of the change, but
that will take some time to set up and gather data from.
Blake