Re: [PATCH v14 1/7] x86/cet/ibt: Add Kconfig option for user-mode Indirect Branch Tracking

From: Cyrill Gorcunov
Date: Mon Oct 12 2020 - 15:15:19 EST


On Mon, Oct 12, 2020 at 08:45:24AM -0700, Yu-cheng Yu wrote:
...
> + the application support it. When this feature is enabled,
> + legacy non-IBT applications continue to work, but without
> + IBT protection.
> + Support for this feature is only known to be present on
> + processors released in 2020 or later. CET features are also
> + known to increase kernel text size by 3.7 KB.

It seems the last sentence is redundant - new features always bloat
the kernel code and precise size may differ depending on compiler
and options. Surely this can be patched on top.