Skip to content

Make x86's switch_mm run with IRQs off

Andy Lutomirski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched: Add switch_mm_irqs_off and use it in the schedulerinclude/linux/mmu_context.h kernel/sched/core.c+10 -30 replies
2/3x86/mm: Uninline switch_mmarch/x86/include/asm/mmu_context.h arch/x86/mm/tlb.c+104 -960 replies
3/3x86/mm: Turn off IRQs in switch_mmarch/x86/include/asm/mmu_context.h arch/x86/mm/tlb.c+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Make x86's switch_mm run with IRQs off

This is some of the PCID prep work, but I think it's reasonable on its own, too. I might also want it for FSGSBASE.

Andy Lutomirski (3):
sched: Add switch_mm_irqs_off and use it in the scheduler x86/mm: Uninline switch_mm
x86/mm: Turn off IRQs in switch_mm

 arch/x86/include/asm/mmu_context.h | 101 ++-------------------------------
 arch/x86/mm/tlb.c                  | 112 +++++++++++++++++++++++++++++++++++++
 include/linux/mmu_context.h        |   7 +++
 kernel/sched/core.c                |   6 +-
 4 files changed, 127 insertions(+), 99 deletions(-)
Signature · 1 line
2.5.5