Re: [PATCH v14 09/13] x86/mm: global ASID process exit helpers
From: Rik van Riel
Date: Sun Mar 02 2025 - 08:53:46 EST
On Sun, 2025-03-02 at 13:38 +0100, Borislav Petkov wrote:
> On Tue, Feb 25, 2025 at 10:00:44PM -0500, Rik van Riel wrote:
> > A global ASID is allocated for the lifetime of a process.
> >
> > Free the global ASID at process exit time.
> >
> > Signed-off-by: Rik van Riel <riel@xxxxxxxxxxx>
> > ---
> > arch/x86/include/asm/mmu_context.h | 12 ++++++++++++
> > 1 file changed, 12 insertions(+)
>
> So I don't like the ifdeffery and tried removing it, see below.
>
> So I added helpers.
>
> Then I entered the include hell.
>
> And then I caught a bug with the DISABLED_FEATURE stuff.
I've been there. Repeatedly :)
Thank you for these changes, it does look better
than before now.
--
All Rights Reversed.