]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/ibt: Optimize the fineibt-bhi arity 1 case
authorPeter Zijlstra <peterz@infradead.org>
Mon, 24 Feb 2025 12:37:13 +0000 (13:37 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 26 Feb 2025 12:49:11 +0000 (13:49 +0100)
commitdfebe7362f6f461d771cdb9ac2c5172a4721f064
treeb49eed6fb68033eeb4deb32741d91b8f638f84e8
parent0c92385dc05ee9637c04372ea95a11bbf6e010ff
x86/ibt: Optimize the fineibt-bhi arity 1 case

Saves a CALL to an out-of-line thunk for the common case of 1
argument.

Suggested-by: Scott Constable <scott.d.constable@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250224124200.927885784@infradead.org
arch/x86/include/asm/ibt.h
arch/x86/kernel/alternative.c