From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:43894 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727186AbgA3Ppd (ORCPT ); Thu, 30 Jan 2020 10:45:33 -0500 Date: Thu, 30 Jan 2020 07:45:30 -0800 From: Christoph Hellwig Subject: Re: [PATCH] kbuild: allow symbol whitelisting with TRIM_UNUSED_KSYMS Message-ID: <20200130154530.GA7452@infradead.org> References: <20200129150612.19200-1-qperret@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200129150612.19200-1-qperret@google.com> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Quentin Perret Cc: masahiroy@kernel.org, nico@fluxnic.net, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, maennich@google.com, kernel-team@android.com On Wed, Jan 29, 2020 at 03:06:12PM +0000, Quentin Perret wrote: > CONFIG_TRIM_UNUSED_KSYMS currently removes all unused exported symbols > from ksymtab. This works really well when using in-tree drivers, but > cannot be used in its current form if some of them are out-of-tree. NAK. The state policy is that we don't care for out of tree modules, and this is useful for nothing but. In fact we should remove the CONFIG_TRIM_UNUSED_KSYMS=n option soon.