Re: [PATCH v1 6/8] x86/tsc: Use seqcount_latch_t

From: Ahmed S. Darwish
Date: Tue Sep 08 2020 - 02:23:12 EST


On Mon, Sep 07, 2020 at 07:30:47PM +0200, peterz@xxxxxxxxxxxxx wrote:
...
>
> Don't look at this function in isolation, look at native_sched_clock()
> where it's used as a whole.
>
...
> What happened (afaict) is that the change caused it to use more
> registers and ended up spiling crap on the stack.
>
...
>
> Anyway, I frobbed the patch to use the this_cpu variant, and I've queued
> the lot.

Perfect. Thanks a lot ;-)