Re: [PATCH 0/3] Make x86's switch_mm run with IRQs off

From: Andy Lutomirski
Date: Thu Apr 21 2016 - 14:41:41 EST


On Thu, Apr 21, 2016 at 10:57 AM, Andy Lutomirski <luto@xxxxxxxxxx> wrote:
> 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.

I rebased this wrong. I'll send a new version after the kbuild bot
has some time to test it.

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



--
Andy Lutomirski
AMA Capital Management, LLC