From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752020AbbAKKym (ORCPT ); Sun, 11 Jan 2015 05:54:42 -0500 Received: from mail.skyhub.de ([78.46.96.112]:41248 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751744AbbAKKyj (ORCPT ); Sun, 11 Jan 2015 05:54:39 -0500 Date: Sun, 11 Jan 2015 11:54:36 +0100 From: Borislav Petkov To: Denys Vlasenko Cc: Linus Torvalds , Denys Vlasenko , Linux Kernel Mailing List , Oleg Nesterov , "H. Peter Anvin" , Andy Lutomirski , Frederic Weisbecker , X86 ML , Alexei Starovoitov , Will Drewry , Kees Cook Subject: Re: [PATCH 3/4] x86: open-code register save/restore in trace_hardirqs thunks Message-ID: <20150111105436.GA19421@pd.tnic> References: <1420927210-19738-1-git-send-email-dvlasenk@redhat.com> <1420927210-19738-4-git-send-email-dvlasenk@redhat.com> <20150110224120.GJ12218@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 On Sun, Jan 11, 2015 at 04:33:58AM +0100, Denys Vlasenko wrote: > I understand Andy's post. > My question is, what about places like this? > > > .macro op_safe_regs op > > ENTRY(\op\()_safe_regs) > > CFI_STARTPROC > > pushl_cfi %ebx > > pushl_cfi %ebp > > pushl_cfi %esi > > pushl_cfi %edi > > Do we need to convert it to use macros which also do > "CFI_REL_OFFSET reg, 0" thingy, or not? > In either case: why? What is different at those places to not use the CFI annotations? Frankly speaking, I'm for dropping all that CFI ugliness completely. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --