From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934294AbeAKRhs (ORCPT + 1 other); Thu, 11 Jan 2018 12:37:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33382 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932459AbeAKRhr (ORCPT ); Thu, 11 Jan 2018 12:37:47 -0500 Date: Thu, 11 Jan 2018 11:37:44 -0600 From: Josh Poimboeuf To: Linus Torvalds Cc: David Woodhouse , the arch/x86 maintainers , Linux Kernel Mailing List , Thomas Gleixner , Andi Kleen , Paul Turner , Greg Kroah-Hartman , Tim Chen , Dave Hansen , Kees Cook , Peter Zijlstra , Andy Lutomirski , Jiri Kosina , One Thousand Gnomes Subject: Re: [PATCH 2/3] objtool: Ignore retpoline alternatives Message-ID: <20180111173744.2iysfjky7hbjozqf@treble> References: <1515688058.22302.366.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 11 Jan 2018 17:37:47 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Jan 11, 2018 at 09:29:48AM -0800, Linus Torvalds wrote: > That, btw, is also why it's pointless to make the small numbers > "bigger". Using "1122" as a label is actively worse than just using > "1". > > You shouldn't try to fool yourself and think that your number is > "unique". It doesn't need to be. A label needs to be unique within one > use, and the use just tells _which_ of the non-unique numbers you use. > > And yes, you could even re-use the number within one macro or inline > asm. But that's just confusing. Make the number unique for the > particular macro or inline use. What if the macro is used by another macro which needs to jump across it? If the labels conflict then the outer macro will accidentally jump to the inner macro. -- Josh