[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <85EDC892-F417-4191-BFCD-F2B84A2125C8@zytor.com>
Date: Wed, 01 Mar 2017 09:22:42 -0800
From: hpa@...or.com
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Josh Poimboeuf <jpoimboe@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Jessica Yu <jeyu@...hat.com>
Subject: Re: [PATCH] objtool, module: discard __unreachable section for modules
On March 1, 2017 9:01:54 AM PST, Linus Torvalds <torvalds@...ux-foundation.org> wrote:
>On Wed, Mar 1, 2017 at 8:44 AM, <hpa@...or.com> wrote:
>>
>> I would like to see a name like, say, ".annot.unreachable", since is
>odds are pretty high we are going to need more annotations in the
>future.
>
>Why not just make it ".discard.unreachable", and then make the discard
>pattern be ".discard*".
>
>We already have .discard.text for some trace hackery, so it follows a
>pattern.
>
>And that's what we do for things like .rodata.* etc.
>
>In fact, we already have a pattern for '.discard.*' in the main
>vmlinux.lds.h file exactly for the .discard.text case (but not for
>modules, it looks like).
>
> Linus
I was assuming it would be used for more than just discarding.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Powered by blists - more mailing lists