From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753232AbbC0MR3 (ORCPT ); Fri, 27 Mar 2015 08:17:29 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:33041 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752982AbbC0MR0 (ORCPT ); Fri, 27 Mar 2015 08:17:26 -0400 Date: Fri, 27 Mar 2015 13:17:22 +0100 From: Ingo Molnar To: Denys Vlasenko Cc: Linus Torvalds , Steven Rostedt , Borislav Petkov , "H. Peter Anvin" , Andy Lutomirski , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] x86/asm/entry/32: Use PUSH instructions to build pt_regs on stack Message-ID: <20150327121722.GD15631@gmail.com> References: <1427452582-21624-1-git-send-email-dvlasenk@redhat.com> <1427452582-21624-4-git-send-email-dvlasenk@redhat.com> <20150327113252.GB14778@gmail.com> <55154868.2030103@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55154868.2030103@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Denys Vlasenko wrote: > On 03/27/2015 12:32 PM, Ingo Molnar wrote: > > > > * Denys Vlasenko wrote: > > > >> This mimics the recent similar 64-bit change. > >> Saves ~110 bytes of code. > > > > Would be nice to know whether you tested all the affected system entry > > variants, on both AMD and Intel CPUs? > > Yes, I did. I also looked at the diff of entry_64.o disassembly, to have > a different view of the changes. That kind of information needs to be in the changelog. > I know how fragile this stuff is. yeah ... Thanks, Ingo