Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5387049imm; Sat, 19 May 2018 00:46:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr6tIT4iWEPy+LOx0NQu06bYD9hTySCT+Pp6+FDa7Fgj+BmbN8rUrDCYUE+skVYiT/1m/yB X-Received: by 2002:a17:902:206:: with SMTP id 6-v6mr4678014plc.294.1526715961592; Sat, 19 May 2018 00:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526715961; cv=none; d=google.com; s=arc-20160816; b=z1wNgAGpaHG/ftAhqyUNzknpKI8dRaatWFKuPQpMgCA+BtlJk44AwmcZpQs5jMlRSe sacv/7MEaE2is90PLdRL5OmSKJLa0CV8HRDDpI0Q6HAy4uv4739+FXW3gRutZTlBpMv/ K2c0kUlFCz/rue5KTbZxB0hqEVHkK7TIm4kAmBO93Gm2/wOTsFreSslcQ5f6qpxYwWYZ extFxDDHR3fanZ19hWYeAgcxwJoi8ZqPdY/ACwDvEJU/MiDhUpn0onOf5887RR3FrRqW 4bQlCLSFsEKd+oMMNppb8DJ3GPVUwiXSJVxxZnRB/RFp9ryI8kOh4uierAmM0XzJHClO gNRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=66lJOQMZc3LqFY4fLZTzN29hglRi5oHwwWy5X7qo8pU=; b=ZvLBjFPlm8/GRhfB+qVDkFwXhcedMnoIvwtXZwiuCGAIxtKhl2HpUqVchNfxlbXa9y 6/vFJwvaXYKgbd3CmOfx27LOcORqIb3huF+qWLU6HPaZm7SfCZ9n1JSxrMlHE94giiAj LV2xsUCkKgbsD5ugL4/aY+UMC/zwlaEsRTX5fHXV2Ka5xQZTnKO4K2iwzJ0VKihToFqq a5hdteF+9F72m3hoiIETResBa/d9fHTs9rOHXTRViES5QclgoePvLyqoYJoVYRobQlaq q9sPKLuG7vZSpGZOOgg/NhZJKR+0eSNg3Dm1hWzi2ZwtE/4LDoboXUCiMUE+CA51RXFV jI/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PN5NAQbv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y185-v6si7264077pgd.316.2018.05.19.00.45.46; Sat, 19 May 2018 00:46:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PN5NAQbv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752224AbeESHoW (ORCPT + 99 others); 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 Received: by mail-wm0-f65.google.com with SMTP id f6-v6so17511443wmc.4; Sat, 19 May 2018 00:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=66lJOQMZc3LqFY4fLZTzN29hglRi5oHwwWy5X7qo8pU=; b=PN5NAQbvMwJx3JKK2AbEwI1XgBjpBK57kmSz33wDBrq/v34+IU3gFmZmC6tEXJbq81 V6NsXixspblIDQMWw/e2/V4A0YQ1tQZTCy4PCumiT1ZO3my1P6yQdqo8Wq/1RJx044L1 eGJ20UlJDKkPDtmtF66gMETDEYJG2wE0+YtK222kX8vEYi1nCmW1QFJjJySANYat/X6D KkRmIXOhJovP/EKxmnePS5derQLVWAOWBb4NPagDz+CW1NH5n3gcmVPSckNmC7OZ0Y0L aPdqLlpk33fm6kJuWkBeb+rolnSTfXbvQvcLaCA4jin/I67EVDMejIHvUDrEnmdjWng/ Yt3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=66lJOQMZc3LqFY4fLZTzN29hglRi5oHwwWy5X7qo8pU=; b=qXIjBS/1sksz8SlBAyjk5vUh66u4ZE8wQ2cGZepBPnpE7z8JudqpmS62MEyxXmViNv 23l+AF1jBeLBm9tWr91mvczWATu+cQho/JnYBGlwFamm2hcOkYhdIJfYeHrKPPg6fnyd OrRxtWEKgh5T14kv1HIUhIwbJICYrIEPHEcP4uYlWE211Nkmf/V0ixiihaxajhYaVFgQ Od4uYsaOfaKpbL1lXLo/KBB1tJ+nOQXujOxnlAavqgSMwjT4d7rZkpE/5KUaDXbhq8bX XqtSWrpNsHm7Cd8cDqSYzjSkYigQXaUjMz8mwFh6B70otdhIaa+ucf0LV9GRgssy45Kd IEcw== X-Gm-Message-State: ALKqPwfNUWo31Pj5InAW3sJrKywPTQX9MRJv3hZDbSkxm5I5BTrUB9bt evHDj+/oaXcdiBktIDHUP/lMYQ== X-Received: by 2002:a1c:adc6:: with SMTP id w189-v6mr5933424wme.15.1526715856209; Sat, 19 May 2018 00:44:16 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id 67-v6sm13086466wmw.32.2018.05.19.00.44.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 May 2018 00:44:15 -0700 (PDT) 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 Precedence: bulk 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