Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Linux 7.3 Bringing A KCFI Optimization To Benefit Older Intel CPUs

Дата публикации: 10-08-2026 17:26:55

Expected to be merged during the upcoming Linux 7.3 merge window is a Kernel Control Flow Integrity (KCFI) improvement intended to benefit older Intel processors...

Основное содержимое страницы с новостью.

LINUX KERNEL

Expected to be merged during the upcoming Linux 7.3 merge window is a Kernel Control Flow Integrity (KCFI) improvement intended to benefit older Intel processors.

Peter Zijlstra of Intel worked through a KCFI improvement for older platforms that lack support for FineIBT. Peter explained with the pending patch:

"As noted in commit 85a2d4a890dc ("x86,ibt: Use UDB instead of 0xEA") Jcc should be assumed not-taken, however the normal kCFI (ABI) emits the following sequence:

movl $(-hash), %r10d
addl -15(%r11), %r10d
je 1f
ud2
1: cs call __x86_indirect_thunk_r11

(when used in conjunction with -mretpoline-external-thunk).

Notably, the Jcc here is always taken, resulting in lower throughput than would be ideal. Replace it with the following sequence on boot:

movl $(-hash), %r10d
addl -15(%r11), %r10d
jne . + 3
test $0xd6, %al
cs call __x86_indirect_thunk_r11

This jumps to the UDB instruction used as an immediate byte in the test instruction. The test instruction will clobber eflags, but that is immaterial, eflags is already changed by the preceding addl.

Intel recommends the FineIBT sequence on platforms that support IBT; older platforms are still widely used and would benefit from this."

FineIBT / CET with Indirect Branch Tracking (IBT) is found with Intel Core 11th Gen "Tiger Lake" CPUs and newer.

Intel engineer Scott Constable ran some benchmarks on an earlier version of the patch to find the CFI optimization benefit:

KCFI optimization benchmark

The patch is queued into tip/tip.git's x86/core Git branch. With that code now in a TIP branch, it's expected to be submitted for the upcoming Linux 7.3 merge window.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Linux 7.3 To Better Handle Cluster Load Balancing On Intel Hybrid CPUs08.9608-08-2026
2Intel Graphics Driver Support For Xe3 "Peak Bandwidth Threshold" Feature In Linux 7.3013.129-07-2026
3Apple M1 Series SoCs To See ~1 Watt Power Savings With Linux 7.309.0210-08-2026
4Old SGI Drivers Being Removed In Linux 7.3 Over Security Concerns07.3910-08-2026
5Linux 7.3 To Make It Easier To Disable Syscall User Dispatch0708-07-2026
6TTM Memory Management For Graphics To Be More Aggresive With Linux 7.3011.1407-08-2026
7Linux 7.3 Enabling Second Graphics Pipe For Modern AMD APUs0510-07-2026
8Linux 7.3 To Support Logitech HID++ 2.0 Reprogrammable Button Support015.6107-08-2026
9Minor Optimization Coming For AMD Athlon XP Era Systems Running Linux07.0610-08-2026
10Linux 7.2-rc7 Released Following Another Exhausting AI-Driven Week014.3509-08-2026

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 9.79. Источник: www.phoronix.com.