[RESEND PATCH v3 0/3] x86/mm: LAM fixups and cleanups
From: Yosry Ahmed
Date: Tue Jul 02 2024 - 09:22:03 EST
This series has fixups and cleanups for LAM. Most importantly, patch 1
fixes a sycnhronization issue that may cause crashes of userspace
applications. This is a resend of v3, rebased on top of v6.10-rc6.
v3: https://lore.kernel.org/lkml/20240418012835.3360429-1-yosryahmed@xxxxxxxxxx/
v2: https://lore.kernel.org/lkml/20240312155641.4003683-1-yosryahmed@xxxxxxxxxx/
v1: https://lore.kernel.org/lkml/20240312035951.3535980-1-yosryahmed@xxxxxxxxxx/
RFC: https://lore.kernel.org/lkml/20240307133916.3782068-1-yosryahmed@xxxxxxxxxx/
Yosry Ahmed (3):
x86/mm: Use IPIs to synchronize LAM enablement
x86/mm: Fix LAM inconsistency during context switch
x86/mm: Cleanup prctl_enable_tagged_addr() nr_bits error checking
arch/x86/include/asm/mmu_context.h | 8 +++++++-
arch/x86/include/asm/tlbflush.h | 9 ++++-----
arch/x86/kernel/process_64.c | 25 ++++++++++++++++---------
arch/x86/mm/tlb.c | 15 ++++++++-------
4 files changed, 35 insertions(+), 22 deletions(-)
--
2.45.2.803.g4e1b14247a-goog