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(-)

-- 
2.5.5

Reply via email to