Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4903599imm; Fri, 18 May 2018 12:41:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo2JAVyy2//OmGMjlgEwOVK5bHQ4wFoxKLBCHrULuL/M8zjX4ZMWaR/ecVkwmUO6lI69XiQ X-Received: by 2002:a17:902:ab8d:: with SMTP id f13-v6mr10882390plr.81.1526672501776; Fri, 18 May 2018 12:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526672501; cv=none; d=google.com; s=arc-20160816; b=rAiWsn+jShQTxWupVX0HtCj3YrXC/kvEngEeZeZPvjoSClAQLLkTtcbRdHF6Y8+bgJ V2jxZ0s/yT4/aNQu/i5LGlMSLf1+MFhhNl99li25zp1bT7vx+aFdcwcYlStCEW9zN6TP Sq1Sl/Yhb2KQCXBdt5e2zvqCVKZdMCs/xkBBpEPomp9SVL1rMZ7EP4YRzx94hlZ0dSap 2AlXspRz40shD//Z/5ypCmR6fmhG3VV8pPB81wi08+9OZtuPOAjr0j2dIh1mA8jXXA9P 6rOdleYHlmJOioHonwdOZGQjN44wK0oGviqjfXD8CrYcXq/hE8wr9WSGzDqtopwm9rSP 6w5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=KnWArrUyXd4XBId5uAb83LozRzPwgRTPrV9pFkrM8oM=; b=yYGuOCZ5S+cslkpBdck/DakxHcuy8UNqygjLdxo9+PD6YMbEHwMywb9FPEcoKB5Tkv 15GPgrbzekFHQJ6A+2L2LX9yUcUTcDJvXsJ8ngJJlQ+WycW2FC167uKOsKW9ACs1h7X3 yOOmt3bDCa4JIg4nvmd/6TL1OOe/LzDa6dbW8vXETsZZ2Oi2TCv2Ll5XDMYsgq6d7dFD cAe2FvueDk92VyA38cI5DsPM0SpKuldVZUTvdwlU1cijY/5kSIrWJK4be8rzFeb2tatk 4jj73tRk0/8igfxWpzY0Mc8fNaoSPoOmDwfwLqppn5MaOOoipF70SFhv3eyo3Y9tG1Gr Funw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=i7541pM3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q28-v6si8294862pfl.317.2018.05.18.12.41.26; Fri, 18 May 2018 12:41:40 -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=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=i7541pM3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751696AbeERTlP (ORCPT + 99 others); Fri, 18 May 2018 15:41:15 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44488 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751197AbeERTlN (ORCPT ); Fri, 18 May 2018 15:41:13 -0400 Received: by mail-wr0-f193.google.com with SMTP id y15-v6so10270476wrg.11 for ; Fri, 18 May 2018 12:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KnWArrUyXd4XBId5uAb83LozRzPwgRTPrV9pFkrM8oM=; b=i7541pM3xWlKHqFXnVnIMxN6F3FJO0OX4njmH4QIP4U3UYut6LNxy/Oz7w4Tg9Mt57 vOnxDYrZS8ietykXWyQZYuXtYKMa2WiDTTQcyZUnqEyFJT0IJ/RA1yFhX8ecvXl2Z9XX wZsB/Gr4RSiUU+Png1hwqIPOIEEOuMfovnrtYSae5ud46CkvX7EZGGRUCWjtZtmr4Wvg sxKR5KgDoH8JakyRcJoaan6avG/FmbZ4APin7jA/+e2rkwD5yCozUJ6hxsYGo5n8kV8Z KavMKtbpMy5nNsG1avCXp6YACeSwO2/pfI1oMfE7S6XVlj2BBgBbZtZ/z65RXie2V6me 7jCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KnWArrUyXd4XBId5uAb83LozRzPwgRTPrV9pFkrM8oM=; b=Jzxn1nuGFXcZVl9DKvCO7OKsTxQr3N7+UAy97nypO2WL/UUO5Xelu4BkyPmgqw5oV8 RHEYVJKGMlEqw6anE/LeZA8xWH3sfRQZE3XFn4CLUms7c9soiin+Zk3TcK4lWsULoZ9i tf1Iq7j3YhVkKbM6wJVplQw/QpQrp9XzAOtA4YjhnvVvtQbkyfhAY5whZOmlQbSJDoYU P6/vwZEbwVRX2vEtyB9nuInQdt+jhZqDvAws+HyC+cfYP47+NW2Jl7Se+kpieZ4TMU76 AdJYrHykSq2GgbSAHi0OOOIF+x3kcMfJEN9tLlebGlEDJZkfkXvnOl/MMkW87Tl9+o3B b5Xg== X-Gm-Message-State: ALKqPwd0Zs2gst2MtiNqzjNOVjUTBWQW6J554xll6nG/08wbfUo8/M/1 7yKJdFzmqp64W4jA3w+C2a+5PH/GEG8zl/t4IUDg1w== X-Received: by 2002:adf:9c01:: with SMTP id f1-v6mr8419994wrc.171.1526672472057; Fri, 18 May 2018 12:41:12 -0700 (PDT) MIME-Version: 1.0 References: <20180518091721.7604-1-jslaby@suse.cz> <20180518091721.7604-18-jslaby@suse.cz> In-Reply-To: <20180518091721.7604-18-jslaby@suse.cz> From: Andy Lutomirski Date: Fri, 18 May 2018 12:41:00 -0700 Message-ID: Subject: Re: [PATCH v6 17/28] x86/asm: use SYM_INNER_LABEL instead of GLOBAL To: Jiri Slaby Cc: Ingo Molnar , linux-arch , LKML , Thomas Gleixner , "H. Peter Anvin" , X86 ML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?)