Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753020AbdLEXTf (ORCPT ); Tue, 5 Dec 2017 18:19:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:46844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752671AbdLEXTa (ORCPT ); Tue, 5 Dec 2017 18:19:30 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24A662199D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org X-Google-Smtp-Source: AGs4zMaiL9SirWYskRY8wg+7nbCezC/P2PxaQzVuwKYHvWSLsv3ydjHo8rzphgxjsMMYu5Y4IANh5kOxnMF5Y56iuKs= MIME-Version: 1.0 In-Reply-To: <858a3396-4b13-ca98-7d0b-b4097b9aaa75@intel.com> References: <20171204140706.296109558@linutronix.de> <858a3396-4b13-ca98-7d0b-b4097b9aaa75@intel.com> From: Andy Lutomirski Date: Tue, 5 Dec 2017 15:19:08 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch 00/60] x86/kpti: Kernel Page Table Isolation (was KAISER) To: Dave Hansen Cc: Andy Lutomirski , Thomas Gleixner , LKML , X86 ML , Linus Torvalds , Peter Zijlstra , Borislav Petkov , Greg KH , Kees Cook , Hugh Dickins , Brian Gerst , Josh Poimboeuf , Denys Vlasenko , Rik van Riel , Boris Ostrovsky , Juergen Gross , David Laight , Eduardo Valentin , aliguori@amazon.com, Will Deacon , Daniel Gruss 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: 438 Lines: 12 On Tue, Dec 5, 2017 at 1:57 PM, Dave Hansen wrote: > On 12/05/2017 01:49 PM, Andy Lutomirski wrote: >> Random thought for the future: KPTI will make it possible to avoid >> global IPI broadcasts on kernel flushes as we discussed, incorrectly, >> two years ago at LPC. This could be nice. > > I'm slow. How? > By introducing an (optional) atomic check for need-to-flush on switches from user CR3 to kernel CR3.