Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933269AbeALDWm (ORCPT + 1 other); Thu, 11 Jan 2018 22:22:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44888 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932298AbeALDWl (ORCPT ); Thu, 11 Jan 2018 22:22:41 -0500 Date: Thu, 11 Jan 2018 21:22:37 -0600 From: Josh Poimboeuf To: Andi Kleen Cc: tglx@linutronix.de, x86@kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, dwmw@amazon.co.uk, pjt@google.com, luto@kernel.org, peterz@infradead.org, thomas.lendacky@amd.com, tim.c.chen@linux.intel.com, gregkh@linux-foundation.org, dave.hansen@intel.com, jikos@kernel.org, Andi Kleen Subject: Re: [PATCH v1 1/8] x86/entry/clearregs: Remove partial stack frame in fast system call Message-ID: <20180112032237.e3ybfpdyhzpk42ju@treble> References: <20180110010328.22163-1-andi@firstfloor.org> <20180110010328.22163-2-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180110010328.22163-2-andi@firstfloor.org> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 12 Jan 2018 03:22:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 09, 2018 at 05:03:21PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Remove the partial stack frame in the 64bit syscall fast path. > In the next patch we want to clear the extra registers, which requires > to always save all registers. So remove the partial stack frame > in the syscall fast path and always save everything. > > This actually simplifies the code because the ptregs stubs > are not needed anymore. > > arch/x86/entry/entry_64.S | 57 ++++----------------------------------------------------- > arch/x86/entry/syscall_64.c | 2 +- This diffstat doesn't need to be in the changelog. -- Josh