Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932816AbeAJHXv (ORCPT + 1 other); Wed, 10 Jan 2018 02:23:51 -0500 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:39307 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932464AbeAJHXu (ORCPT ); Wed, 10 Jan 2018 02:23:50 -0500 Date: Wed, 10 Jan 2018 08:23:07 +0100 From: Willy Tarreau To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Borislav Petkov , Brian Gerst , Dave Hansen , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Josh Poimboeuf , "H. Peter Anvin" , Greg Kroah-Hartman , Kees Cook Subject: Re: [RFC PATCH v2 6/6] x86/entry/pti: don't switch PGD on when pti_disable is set Message-ID: <20180110072307.GB14066@1wt.eu> References: <1515502580-12261-1-git-send-email-w@1wt.eu> <1515502580-12261-7-git-send-email-w@1wt.eu> <20180110071510.nfice2pjtuylqirc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180110071510.nfice2pjtuylqirc@gmail.com> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 10, 2018 at 08:15:10AM +0100, Ingo Molnar wrote: > > + /* The "pti_disable" mm attribute is mirrored into this per-cpu var */ > > + cmpb $0, PER_CPU_VAR(pti_disable) > > + jne .Lend_\@ > > Could you please do this small change for future iterations: > > s/per-cpu > /per-CPU > > ... to make the spelling more consistent with the rest of the code base? Now done as well, thank you. Do not hesitate to send future cosmetic changes directly to me so that we keep a max of participants mostly focused on the design choices. (and don't worry, I'll pick them, I really appreciate these as well). Thanks, Willy