x86/mm: Reduce untagged_addr() overhead for systems without LAM
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Sun, 12 Mar 2023 11:26:02 +0000 (14:26 +0300)
committerDave Hansen <dave.hansen@linux.intel.com>
Thu, 16 Mar 2023 20:08:39 +0000 (13:08 -0700)
commite0bddc19ba9578bc4e4c60a3f29ccc227277854c
treee2979513d7a3ee4816c7192f37abe5c6acdb2d68
parent74c228d20a51ddb1354409fdbed7b72427339d7b
x86/mm: Reduce untagged_addr() overhead for systems without LAM

Use alternatives to reduce untagged_addr() overhead.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20230312112612.31869-8-kirill.shutemov%40linux.intel.com
arch/x86/include/asm/disabled-features.h
arch/x86/include/asm/uaccess.h