]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/alternatives: Move text_poke_array completion from smp_text_poke_batch_finish...
authorIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 05:40:51 +0000 (07:40 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 09:01:34 +0000 (11:01 +0200)
commit7fbadb50d95a8bbc0de720e0857c77d4f13ddcaf
treec89848663f491b770dab7557442581081eea44b8
parentcca3473956be6ca5c7ad5d2ced5516eb509c1936
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()

Simplifies the code and improves code generation a bit:

   text    data     bss     dec     hex filename
  14769    1017    4112   19898    4dba alternative.o.before
  14742    1017    4112   19871    4d9f alternative.o.after

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: "H . Peter Anvin" <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250411054105.2341982-40-mingo@kernel.org
arch/x86/kernel/alternative.c