Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752617AbcDUSli (ORCPT ); Thu, 21 Apr 2016 14:41:38 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:34312 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752140AbcDUSlh (ORCPT ); Thu, 21 Apr 2016 14:41:37 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Andy Lutomirski Date: Thu, 21 Apr 2016 11:41:17 -0700 Message-ID: Subject: Re: [PATCH 0/3] Make x86's switch_mm run with IRQs off To: Andy Lutomirski Cc: X86 ML , "linux-kernel@vger.kernel.org" , Borislav Petkov , Peter Zijlstra Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 829 Lines: 28 On Thu, Apr 21, 2016 at 10:57 AM, Andy Lutomirski 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