Re: [PATCH 01/21] x86/mm/asi: Add CONFIG_MITIGATION_ADDRESS_SPACE_ISOLATION

From: Brendan Jackman
Date: Fri Oct 24 2025 - 19:32:41 EST


On Fri Oct 24, 2025 at 10:37 PM UTC, Borislav Petkov wrote:
> On Wed, Sep 24, 2025 at 02:59:36PM +0000, Brendan Jackman wrote:
>> This long awkward name is for consistency with
>> CONFIG_MITIGATION_PAGE_TABLE_ISOLATION.
>
> But why?
>
> I bet you someone will get confused and mean
> CONFIG_MITIGATION_PAGE_TABLE_ISOLATION when she means
> CONFIG_MITIGATION_ADDRESS_SPACE_ISOLATION or vice versa due to the
> conglomerate of similar words.
>
> Now compare that to CONFIG_ASI! Wonderfully short and clear.
>
> Especially when the namespace already is "asi_" ...
>
> The only problem with ASI is it doesn't tell you what it is but you can look
> it up with simple grepping...
>
> I'd say.

Sure, CONFIG_ASI sounds great to me, if it sounds good to you :)

And yeah if someone doesn't know what ASI is, they probably don't know
what ADDRESS_SPACE_ISOLATION is either to be honest. The Kconfig file
has a nice place to document it.