Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

x86/mm: Remove unused CR3_HW_ASID_BITS

Commit 6fd166aae78c ("x86/mm: Use/Fix PCID to optimize user/kernel
switches") removed the last usage of CR3_HW_ASID_BITS and opted to use
X86_CR3_PCID_BITS instead. Remove CR3_HW_ASID_BITS.

Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240425215951.2310105-1-yosryahmed@google.com

authored by

Yosry Ahmed and committed by
Thomas Gleixner
4276a0bb 830a0d12

-3
-3
arch/x86/mm/tlb.c
··· 86 86 * 87 87 */ 88 88 89 - /* There are 12 bits of space for ASIDS in CR3 */ 90 - #define CR3_HW_ASID_BITS 12 91 - 92 89 /* 93 90 * When enabled, MITIGATION_PAGE_TABLE_ISOLATION consumes a single bit for 94 91 * user/kernel switches