From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752378AbbEDUeo (ORCPT ); Mon, 4 May 2015 16:34:44 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40812 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752271AbbEDUe3 (ORCPT ); Mon, 4 May 2015 16:34:29 -0400 Message-ID: <5547D7B1.8070703@zytor.com> Date: Mon, 04 May 2015 13:33:53 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Josh Poimboeuf , Thomas Gleixner , Ingo Molnar CC: Michal Marek , Peter Zijlstra , x86@kernel.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] x86, stackvalidate: Add asm frame pointer setup macros References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/04/2015 01:23 PM, Josh Poimboeuf wrote: > + __ASM_SIZE(push, _cfi) %_ASM_BP > + __ASM_SIZE(pop, _cfi) %_ASM_BP This seems ridiculous. push/pop only come in one size per architecture(*). Can we make it so that just push_cfi and pop_cfi do the right things? -hpa (*) Intentionally ignoring 16 bit here...