Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp7319278imm; Mon, 21 May 2018 00:13:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr08gramx93lrBYnYRA6/UCey3VUiPljiJ7T7e3zUsIyzUw8x6giNb5m7TlM92a9ImDoaTX X-Received: by 2002:a62:4f0c:: with SMTP id d12-v6mr18894079pfb.220.1526886836678; Mon, 21 May 2018 00:13:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526886836; cv=none; d=google.com; s=arc-20160816; b=YGMtERqAyBfCEaQkYHBNpurhFrPT6L6ZMWQVjGYn7oaPzT9nPi/eN7SZiLwRtIHb9d 8bQy01rnVua35rZEZr/4rFdpQlQXzarZBUyMHHM218nGDjPbV4P01G9+Qj2PVdtTHeyg ipuQGuw8teJO6o8y74Ra0rOao5SpJ1JF/J93yxJQSdfNmlr3x3HT+btvdSALNxXYpJ1G s4V6dSG+uPnxHQKxPZ/qd3Y7KJzH9JHl8X0LUgj3Ht0ojHw1kuSwqOFsBk6mEHkzlUZZ qwVRlYg1EWP1qkjoO0Dl2qlZnOH7KtLLMv4bYEPmvCvl43vCdxL3bGPoJkB1yzMtArPG 23XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :arc-authentication-results; bh=psKtkyMAulNLurblpNwoEqe/wlzaUqp2MCfnjrbWEYQ=; b=TZEMEMtDj/kN37xAQfyKh4kzSVD4lkOv4wK8NF+eFByd5sHsXbG3hGtfcOtGvAX7mF DGUDbMB4/hsdtCJ9IafxkfDAkdZ/GsZuZ5PIqKv7Pr2KzeAEtdunKoRCzG/Ns+p9jI64 auKyxYdCupIUgIB2aTUTWuuEGwvF2oJiDxYf/PEET3toyoKqe9dGeVpaKTD3rZJxGZiD CxJvFeIEDGfXffcPSDlG820hvLukAiwlRdybB1BmLqdol+B9HWZvjCN7G5dmYXvrmJ8a lMfj69J+iVuCZQpEl8KK9wSfAdB5zubNiQdrlhihG7ro5J+ymFXsjqH1pEhfu+3UuJFX CxBA== ARC-Authentication-Results: i=1; mx.google.com; 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 t28-v6si13553539pfi.221.2018.05.21.00.13.42; Mon, 21 May 2018 00:13:56 -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; 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 S1751143AbeEUHN3 (ORCPT + 99 others); Mon, 21 May 2018 03:13:29 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46342 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbeEUHNS (ORCPT ); Mon, 21 May 2018 03:13:18 -0400 Received: by mail-wr0-f194.google.com with SMTP id x9-v6so12016294wrl.13; Mon, 21 May 2018 00:13:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=psKtkyMAulNLurblpNwoEqe/wlzaUqp2MCfnjrbWEYQ=; b=nhSIinULuov88a8jwUb8hBs9sa8weZ2mtmQnGsHfGMEw0kv5+UXrdYTIf8Wj6q5gcG sJbW6vxumsnwHef70xTv8CqdPwo/GlDB5o9nulXVBNknKG2VUye5n+DrDkOSOdIoLm+G FQ8W3/0N2S2+9uyZ/qlztBnrAFH+mvv/L1IESis94m15WEuZQUZR2Xl2N78HsCOxw2l7 6pcWZ/1hYQtamWNAz4wiy38DoSQvWteASn5h/rLmnEmjb5VqnVUNaLgvrMrrBMEZ9jRo 1Z35nVB8vvaH7LpR/WMI/nC1QnrPdY74TjhYrPj+8QcvMMEAd6mgKc1AToAlUo4EcP/G zHRg== X-Gm-Message-State: ALKqPwcxtpCaifqsTXzJrP26VPmOWNfzKBo6ELil9TQBgoZ7c29Fq/GZ 9pVXavcme2Ruv7UGKVQYpT6lAQ== X-Received: by 2002:adf:9925:: with SMTP id x34-v6mr15518238wrb.29.1526886797328; Mon, 21 May 2018 00:13:17 -0700 (PDT) Received: from ?IPv6:2a01:4240:2e27:ad85:aaaa::70f? ([2a01:4240:2e27:ad85:aaaa::70f]) by smtp.gmail.com with ESMTPSA id y11-v6sm4082876wrc.93.2018.05.21.00.13.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 00:13:16 -0700 (PDT) Subject: Re: [PATCH v6 17/28] x86/asm: use SYM_INNER_LABEL instead of GLOBAL To: Andy Lutomirski Cc: Ingo Molnar , linux-arch , LKML , Thomas Gleixner , "H. Peter Anvin" , X86 ML References: <20180518091721.7604-1-jslaby@suse.cz> <20180518091721.7604-18-jslaby@suse.cz> From: Jiri Slaby Openpgp: preference=signencrypt Autocrypt: addr=jslaby@suse.cz; prefer-encrypt=mutual; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjF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r90eUVneqM2TUQQbK+Kh7JwmGVrRGNqQrDk+gRNvKnGwFNeTkTKtJ0P8jYd7P1gZb9Fwj 9YLxjhn/sVIhNmEBLBoI7PL+9fbILqJPHgAwW35rpnq4f/EYTykbk1sa13Tav6btJ+4QOgbc ezWIwZ5w/JVfEJW9JXp3BFAVzRQ5nVrrLDAJZ8Y5ioWcm99JtSIIxXxt9FJaGc1Bgsi5K/+d yTKLwLMJgiBzbVx8G+fCJJ9YtlNOPWhbKPlrQ8+AY52Aagi9WNhe6XfJdh5g6ptiOILm330m kR4gW6nEgZVyIyTq3ekOuruftWL99qpP5zi+eNrMmLRQx9iecDNgFr342R9bTDlb1TLuRb+/ tJ98f/bIWIr0cqQmqQ33FgRhrG1+Xml6UXyJ2jExmlO8JljuOGeXYh6ZkIEyzqzffzBLXZCu jlYQDFXpyMNVJ2ZwPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmf faK/S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= Message-ID: Date: Mon, 21 May 2018 09:13:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/18/2018, 09:41 PM, 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?) All the macros have SYM_ prefix. Other macros look like this: SYM_FUNC_START_LOCAL(name) SYM_FUNC_START(name) So I can make the inner one: SYM_INNER_LABEL_LOCAL(name) SYM_INNER_LABEL(name) to be consistent with the rest, if that is OK? thanks, -- js suse labs