From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758182AbcBXPTu (ORCPT ); Wed, 24 Feb 2016 10:19:50 -0500 Received: from mail-qk0-f169.google.com ([209.85.220.169]:34995 "EHLO mail-qk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752287AbcBXPTr (ORCPT ); Wed, 24 Feb 2016 10:19:47 -0500 Date: Wed, 24 Feb 2016 10:19:44 -0500 (EST) From: Nicolas Pitre To: Michal Marek , linux-kbuild@vger.kernel.org cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/7] Trim unused exported kernel symbols In-Reply-To: <1455826023-2134-1-git-send-email-nicolas.pitre@linaro.org> Message-ID: References: <1455826023-2134-1-git-send-email-nicolas.pitre@linaro.org> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gentle ping. On Thu, 18 Feb 2016, Nicolas Pitre wrote: > This patch series provides the option to omit exported symbols from > the kernel and modules that are never referenced by any of the selected > modules in the current kernel configuration. > > The original cover letter with lots of test results can be found here: > > https://lkml.org/lkml/2016/2/8/813 > > A git branch with those patches is also available here: > > http://git.linaro.org/people/nicolas.pitre/linux.git autoksyms > > Please consider for merging. > > Changes from v2: > > - Generating the build dependencies by parsing the source with fixdep > turned out to be unreliable due to all the EXPORT_SYMBOL() variants, > and especially their use within macros where the actual symbol name > is known only after running the preprocessor. This list of symbol names > is now obtained from the preprocessor directly, fixing allmodconfig > builds. > > Changes from v1: > > - Replaced "exp" that doesn't convey the right meaning as noted by > Sam Ravnborg. The "ksym" identifier is actually what the kernel > already uses for this. Therefore: > - CONFIG_TRIM_UNUSED_EXPSYMS --> CONFIG_TRIM_UNUSED_KSYMS > - include/generated/expsyms.h --> include/generated/autoksyms.h > - #define __EXPSYM_* --> #define __KSYM_* > > - Some sed regexp improvements as suggested by Al Viro. > > - Renamed vmlinux_recursive target to autoksyms_recursive. > > - Accept EXPORT_SYMBOL variants with a prefix, e.g. ACPI_EXPORT_SYMBOL. > > - Minor commit log clarifications. > > - Added Rusty's ACK. > >