linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH v3 0/3] x86/mm: LAM fixups and cleanups
@ 2024-07-02 13:21 Yosry Ahmed
  2024-07-02 13:21 ` [RESEND PATCH v3 1/3] x86/mm: Use IPIs to synchronize LAM enablement Yosry Ahmed
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Yosry Ahmed @ 2024-07-02 13:21 UTC (permalink / raw)
  To: x86
  Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen,
	H. Peter Anvin, Andy Lutomirski, Peter Zijlstra,
	Kirill A. Shutemov, Rick Edgecombe, Andrew Morton, linux-mm,
	linux-kernel, Yosry Ahmed

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@google.com/
v2: https://lore.kernel.org/lkml/20240312155641.4003683-1-yosryahmed@google.com/
v1: https://lore.kernel.org/lkml/20240312035951.3535980-1-yosryahmed@google.com/
RFC: https://lore.kernel.org/lkml/20240307133916.3782068-1-yosryahmed@google.com/

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-02 19:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-02 13:21 [RESEND PATCH v3 0/3] x86/mm: LAM fixups and cleanups Yosry Ahmed
2024-07-02 13:21 ` [RESEND PATCH v3 1/3] x86/mm: Use IPIs to synchronize LAM enablement Yosry Ahmed
2024-07-02 18:58   ` Borislav Petkov
2024-07-02 19:00     ` Yosry Ahmed
2024-07-02 13:21 ` [RESEND PATCH v3 2/3] x86/mm: Fix LAM inconsistency during context switch Yosry Ahmed
2024-07-02 13:21 ` [RESEND PATCH v3 3/3] x86/mm: Cleanup prctl_enable_tagged_addr() nr_bits error checking Yosry Ahmed
2024-07-02 17:36 ` [RESEND PATCH v3 0/3] x86/mm: LAM fixups and cleanups Andrew Morton
2024-07-02 17:39   ` Yosry Ahmed
2024-07-02 18:35     ` Andrew Morton
2024-07-02 18:38       ` Dave Hansen
2024-07-02 18:55         ` Yosry Ahmed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox