From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbeESHoW (ORCPT ); Sat, 19 May 2018 03:44:22 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:54559 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119AbeESHoR (ORCPT ); Sat, 19 May 2018 03:44:17 -0400 X-Google-Smtp-Source: AB8JxZr15TDQYWYg1CGtY4BwCl+YsupzHkEKkqCk7bZ6Z0Zca36xFuiBEEX42G1twwcKJAbm3YshYg== Date: Sat, 19 May 2018 09:44:13 +0200 From: Ingo Molnar To: Andy Lutomirski Cc: Jiri Slaby , Ingo Molnar , linux-arch , LKML , Thomas Gleixner , "H. Peter Anvin" , X86 ML Subject: Re: [PATCH v6 17/28] x86/asm: use SYM_INNER_LABEL instead of GLOBAL Message-ID: <20180519074413.GB2952@gmail.com> References: <20180518091721.7604-1-jslaby@suse.cz> <20180518091721.7604-18-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andy Lutomirski wrote: > On Fri, May 18, 2018 at 2:17 AM Jiri Slaby wrote: > > > GLOBAL had several meanings and is going away. In this patch, convert > > all the inner function labels marked with GLOBAL to use SYM_INNER_LABEL > > instead. > > > Note that retint_user needs not be global, perhaps since commit > > 2ec67971facc ("x86/entry/64/compat: Remove most of the fast system call > > machinery"), where entry_64_compat's caller was removed. So mark the > > label as LOCAL. > > > > -GLOBAL(entry_SYSCALL_64_after_hwframe) > > +SYM_INNER_LABEL(entry_SYSCALL_64_after_hwframe, SYM_L_GLOBAL) > > I've missed all the context here. I agree that GLOBAL is misleading, and > "inner label" is nice. But this is a rather wordy macro. Would: > > INNER_LABEL_GLOBAL(name) > > be better? (With just INNER_LABEL(name) for the local version?) Please keep the SYM_ global namespace for all these symbol macros - but the rest of the name can be shortened. Thanks, Ingo