Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1888812ybl; Thu, 30 Jan 2020 07:47:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxQoESVNBJaIbNWqFavRZkMQR90muC3yE3Vk1EEAA7q4L9xsv5A3eyDrv0kYHpoyVdGvnlB X-Received: by 2002:aca:d4ca:: with SMTP id l193mr3383123oig.133.1580399240270; Thu, 30 Jan 2020 07:47:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580399240; cv=none; d=google.com; s=arc-20160816; b=M1fOs7UQpynDosAY7T1EhPIwww+185t0QulRqRhj4JDflpheTIcg9j/kwNDZ4ah14d duT5b12B08uIFUle04r0lrDhZv4eByMoHIcOXg/5zigmTjBqbL78ECrFKgF2uPkXEkHm dzOs0Rbw8DZbvIJ+FeWRa4MncIxWXhcWi3v+DwJmqe9Fuk6RMPFQZTCPWaCT8wKqFdzm UVPhi5qg9LLqLlNjEKrITA1a71Kgke0/azNKCIO0t5w5wcuz0kfn4ICtUOZKF5anCBaX UTvnw4UviaHZeQcRrP9CPai7bNXuAaXpcKftT4aSpV+vqkVlYG6XBvpe/4FvjWJ+Sk38 1Pww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rRsa7asAoT2EF7p8LcPXpdUKtc2FvIavKqi2DprRKjs=; b=dO9mEnCwK310jJ+NxYBF0cDzaSj+T0nidKxJl27Pj1OLVX4d0ubD1Bdu/sQAM6UQJl XijZx7BrpXv2ny7rVEbfWSJVsslQxtdwReNxAquEq5w6SQ5Us7m3wbXz5X+8Wt+GRVFD ozWisGtPSkZktmqsISTILFJETLTdJT3nTkHQEoEq+Kj2p9jdDOEZPeZSyBL8fqzjApAX LWFacfwWxArSA5EbweUk7qXE9HObDqX5snetFJ9QhEaaW8bHLgDaSkqZEAM5LqOfO8d/ 5Ds5JsU1dqXb34+MKzXeNEzt3cVcRUm0wZTTGYVEn+1lpZfF2AfVB76qqVc4hNJqi7b6 gfzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Vjug28tK; 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 f204si2772847oia.43.2020.01.30.07.47.08; Thu, 30 Jan 2020 07:47:20 -0800 (PST) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Vjug28tK; 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 S1727299AbgA3Ppe (ORCPT + 99 others); Thu, 30 Jan 2020 10:45:34 -0500 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rRsa7asAoT2EF7p8LcPXpdUKtc2FvIavKqi2DprRKjs=; b=Vjug28tKKj/KaA/PTpSPmlXiH iPzNjTvr8muoqV4hBrVgYWjwe+dXfFgMepmfHSIDUrVE/mORDGA8mJ+Z76fLK7/y+SWvs92/zpO/g b7YOwOtKhIs3YJp01JO2bKXYDfmryyvlHqRZ3mROQrDowH7e1EUA9u6bOK7cP3wo2O6VOvNKiJ42g oiyXBdzS+/lXYnaXisPF1cCaYi9EyiP+KpYs7cMZm3P9mOm4OBM1fBNYCkk1QasPOUaQEAOyi8lkG W9yjHUylopMXmkoaUX+HThjFUz9bTVfF4Rb3bgyavvDbdDAkSN2b789pHXk67MsoS1puar7Liesjc OGRPSFMig==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1ixC0Y-0000VG-IR; Thu, 30 Jan 2020 15:45:30 +0000 Date: Thu, 30 Jan 2020 07:45:30 -0800 From: Christoph Hellwig 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 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> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.