Re: [PATCH 37/49] x86/alternatives: Move text_poke_array completion from smp_text_poke_batch_finish() and smp_text_poke_batch_flush() to smp_text_poke_batch_process()
From: Ingo Molnar
Date: Fri Apr 04 2025 - 03:48:45 EST
* Nikolay Borisov <nik.borisov@xxxxxxxx> wrote:
> > Yeah, it doesn't change semantics, but it's a very small
> > deoptimization.
> > > Mind sending a patch? It does simplify the facility some more and that
> > single branch will wash away against costs like the CR3 flushes done
>
> Given that poke_batch_finish does a cond_resched and sync_each_cpu
> which is an IPI can it even be considered a performance critical path
> ?
Probably not, but even if it was, I think your change would still be an
overall win, so please send a changelogged patch against
WIP.x86/alternatives.
Thanks,
Ingo