Re: [PATCH RFC] x86/syscall: Dispatch via sys_call_table when Spectre v2 and BHI are off
From: Linus Torvalds
Date: Mon Nov 02 2026 - 15:12:23 EST
On Mon, 2 Nov 2026 at 12:06, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
>
> This doesn't buy you anything, except a larger code footprint and more
> branch predictor pressure.
Very possible. At some point in history, computed branches were
cheaper than table lookups, but that may simply not be true any more.
Linus