x86/mm: Add global ASID process exit helpers
authorRik van Riel <riel@surriel.com>
Wed, 26 Feb 2025 03:00:44 +0000 (22:00 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:12:29 +0000 (11:12 +0100)
commitc9826613a9cbbf889b1fec6b7b943fe88ec2c212
treec259685083bc7a0511fe4ed6716aed35ec6b8343
parentbe88a1dd6112bbcf40d0fe9da02fb71bfb427cfe
x86/mm: Add global ASID process exit helpers

A global ASID is allocated for the lifetime of a process. Free the global ASID
at process exit time.

  [ bp: Massage, create helpers, hide details inside them. ]

Signed-off-by: Rik van Riel <riel@surriel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250226030129.530345-10-riel@surriel.com
arch/x86/include/asm/mmu_context.h
arch/x86/include/asm/tlbflush.h