From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752934AbbC0MJr (ORCPT ); Fri, 27 Mar 2015 08:09:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46238 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752283AbbC0MJo (ORCPT ); Fri, 27 Mar 2015 08:09:44 -0400 Message-ID: <55154868.2030103@redhat.com> Date: Fri, 27 Mar 2015 13:09:12 +0100 From: Denys Vlasenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ingo Molnar 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 References: <1427452582-21624-1-git-send-email-dvlasenk@redhat.com> <1427452582-21624-4-git-send-email-dvlasenk@redhat.com> <20150327113252.GB14778@gmail.com> In-Reply-To: <20150327113252.GB14778@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. I know how fragile this stuff is.