Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753052AbbDAIvu (ORCPT ); Wed, 1 Apr 2015 04:51:50 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:34268 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210AbbDAIvp (ORCPT ); Wed, 1 Apr 2015 04:51:45 -0400 Date: Wed, 1 Apr 2015 10:51:40 +0200 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 2/9] x86/asm/entry/32: Use PUSH instructions to build pt_regs on stack Message-ID: <20150401085140.GC23916@gmail.com> References: <1427821211-25099-1-git-send-email-dvlasenk@redhat.com> <1427821211-25099-2-git-send-email-dvlasenk@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1427821211-25099-2-git-send-email-dvlasenk@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 Content-Length: 666 Lines: 21 * Denys Vlasenko wrote: > This mimics the recent similar 64-bit change. > Saves ~110 bytes of code. > > Patch was run-tested on 32 and 64 bits, Intel and AMD CPU. > I also looked at the diff of entry_64.o disassembly, to have > a different view of the changes. The other important question would be: what performance difference (if any) did you observe before/after the change? Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/