mbox series

[RFC,0/3] x86/mm: LAM fixups and cleanups

Message ID 20240307133916.3782068-1-yosryahmed@google.com (mailing list archive)
Headers show
Series x86/mm: LAM fixups and cleanups | expand

Message

Yosry Ahmed March 7, 2024, 1:39 p.m. UTC
This series has a few fixups and cleanups for LAM code noticed through
code inspection. They are marked as RFC because I am not very familiar
with this code so I may have gotten something (or all of it) wrong.

Yosry Ahmed (3):
  x86/mm: fix LAM cr3 mask inconsistency during context switch
  x86/mm: make sure LAM is up-to-date during context switching
  x86/mm: cleanup prctl_enable_tagged_addr() nr_bits error checking

 arch/x86/include/asm/tlbflush.h | 11 ++++--
 arch/x86/kernel/process_64.c    | 10 ++---
 arch/x86/mm/tlb.c               | 67 +++++++++++++++++++--------------
 3 files changed, 48 insertions(+), 40 deletions(-)