]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/alternatives: Rename 'text_poke_finish()' to 'smp_text_poke_batch_finish()'
authorIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 05:40:27 +0000 (07:40 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 09:01:33 +0000 (11:01 +0200)
commite8d7b8c2bbcd5e50c93902af4ba53029fc0497fc
tree6ac12a949b578ef29a8c84c676b44dca1d679fa9
parentaedb60c2c66c82be7cceb89e2b1a0d491bb7ca2f
x86/alternatives: Rename 'text_poke_finish()' to 'smp_text_poke_batch_finish()'

This name is actively confusing as well, because the simple text_poke*()
APIs use MM-switching based code patching, while text_poke_finish()
is part of the INT3 based text_poke_int3_*() machinery that is an
additional layer of functionality on top of regular text_poke*() functionality.

Rename it to smp_text_poke_batch_finish() to make it clear which layer
it belongs to.

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-16-mingo@kernel.org
arch/x86/include/asm/text-patching.h
arch/x86/kernel/alternative.c
arch/x86/kernel/ftrace.c
arch/x86/kernel/jump_label.c