]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/alternatives: Move the text_poke_array manipulation into text_poke_int3_loc_init...
authorIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 05:40:47 +0000 (07:40 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 09:01:34 +0000 (11:01 +0200)
commit0e351aec2b0052d33d6e44ded622223043d4dcd5
treed4444e6300929b74b19f3bfdd9f7bdf745034181
parent74e8e2bf950e8deb0965583e2130f0fb5a705085
x86/alternatives: Move the text_poke_array manipulation into text_poke_int3_loc_init() and rename it to __smp_text_poke_batch_add()

This simplifies the code and code generation a bit:

   text    data     bss     dec     hex filename
  14802    1029    4112   19943    4de7 alternative.o.before
  14784    1029    4112   19925    4dd5 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-36-mingo@kernel.org
arch/x86/kernel/alternative.c