Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752847AbdCARnA convert rfc822-to-8bit (ORCPT ); Wed, 1 Mar 2017 12:43:00 -0500 Received: from terminus.zytor.com ([65.50.211.136]:46422 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752602AbdCARm7 (ORCPT ); Wed, 1 Mar 2017 12:42:59 -0500 Date: Wed, 01 Mar 2017 09:22:42 -0800 User-Agent: K-9 Mail for Android In-Reply-To: References: <863b50ccad9182c0529c63b0ae7bceb3b3fafc69.1488380822.git.jpoimboe@redhat.com> <9593504E-702C-4ABC-A72A-FAF77999B707@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH] objtool, module: discard __unreachable section for modules To: Linus Torvalds CC: Josh Poimboeuf , Ingo Molnar , Linux Kernel Mailing List , Thomas Gleixner , Jessica Yu From: hpa@zytor.com Message-ID: <85EDC892-F417-4191-BFCD-F2B84A2125C8@zytor.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 855 Lines: 24 On March 1, 2017 9:01:54 AM PST, Linus Torvalds wrote: >On Wed, Mar 1, 2017 at 8:44 AM, 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.