From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 223A2C3A59E for ; Wed, 21 Aug 2019 13:37:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7117233A0 for ; Wed, 21 Aug 2019 13:37:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cMdx/Nqi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="cIqReoHF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7117233A0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0q8FFh6XBdIrd30vZ00h03uRa0VrlhD9PqLH2omqBGY=; b=cMdx/NqipxYXQx Fsvlqg4Hb1UUIKJYwMxgZqnECHHgoyfTqDCC4baqWjzqLlOi/LKCIN7vwE+2W79xxgetJ+sHz/D1B DBuraBgPXgg4Geo+DxuY1XiXC9H2mDWoD8rPUcKSPLjnghFTZt2D/1gX0XORq0vqzebJ+kDclUWqE uEEVnBp6JR4K/nHN7K2Yjium35dYFP4FCaI6HiQqcs1bUsCg+0bDbY87viykfcpjf0sqrSD9u4/p/ O2+V39SFomEq2sTVZmiu00zPavchdFDKGrZwIZv5EJZW+owm10YYd0fKIbYHoABUxAlTONPJQRaqk +9TqZ/L+QBfawdKxD0Yg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0Qo1-0005Gj-5v; Wed, 21 Aug 2019 13:37:41 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i0Qnz-0005GG-2K; Wed, 21 Aug 2019 13:37:40 +0000 Received: from localhost (unknown [12.166.174.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E680322DD3; Wed, 21 Aug 2019 13:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566394658; bh=JFZU36i6Q9F7XtqSZvUlAaottGIkq60hvCD4Lb1NkFY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cIqReoHFVucef4CCqQuTnAmpOF23VUGpLWhIJduxBHBHjRm6xTK0+5/6KHG9YQQUy 7E7ICWHeZ+PfIMbPOHCtW0EsikkuDW4rqQzLMHXLZkWwflmQcj7oyp22v/ErogArj2 yBQpm8qYDzszZrhAZd+3wVHH7CwyeRktpNT3XFzM= Date: Wed, 21 Aug 2019 06:37:37 -0700 From: Greg KH To: Nicolas Pitre Subject: Re: [PATCH v3 00/11] Symbol Namespaces Message-ID: <20190821133737.GB4890@kroah.com> References: <20190813121733.52480-1-maennich@google.com> <20190821114955.12788-1-maennich@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190821_063739_152823_6D5CD421 X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kstewart@linuxfoundation.org, oneukum@suse.com, linux-aspeed@lists.ozlabs.org, usb-storage@lists.one-eyed-alien.net, Toru Komatsu , Mauro Carvalho Chehab , Nicolas Ferre , David Howells , yamada.masahiro@socionext.com, Will Deacon , patches@opensource.cirrus.com, Michael Ellerman , hpa@zytor.com, joel@joelfernandes.org, bcm-kernel-feedback-list@broadcom.com, sam@ravnborg.org, cocci@systeme.lip6.fr, linux-arch@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Benjamin Fair , linux-scsi@vger.kernel.org, Fabio Estevam , openbmc@lists.ozlabs.org, x86@kernel.org, lucas.de.marchi@gmail.com, Nancy Yuen , mingo@redhat.com, geert@linux-m68k.org, NXP Linux Team , Johannes Weiner , Patrick Venture , stern@rowland.harvard.edu, kernel-team@android.com, Dan Williams , Ingo Molnar , linux-rtc@vger.kernel.org, Gleb Fotengauer-Malinovskiy , sspatil@google.com, linux-watchdog@vger.kernel.org, Arnd Bergmann , linux-kbuild@vger.kernel.org, Jani Nikula , linux-arm-msm@vger.kernel.org, jeyu@kernel.org, Matthias Maennich , Julia Lawall , linux-m68k@lists.linux-m68k.org, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-amlogic@lists.infradead.org, tglx@linutronix.de, maco@android.com, linux-arm-kernel@lists.infradead.org, Adrian Reber , linux-hwmon@vger.kernel.org, michal.lkml@markovi.net, Ard Biesheuvel , Andrew Jeffery , Alexey Gladkov , linux-usb@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org, Patrick Bellasi , Richard Guy Briggs , maco@google.com, Pengutronix Kernel Team , pombredanne@nexb.com, Tejun Heo , Andrew Morton , "David S. Miller" , linux-modules@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Wed, Aug 21, 2019 at 08:46:47AM -0400, Nicolas Pitre wrote: > On Wed, 21 Aug 2019, Matthias Maennich wrote: > > > As of Linux 5.3-rc5, there are 31205 [1] exported symbols in the kernel. > > That is a growth of roughly 1000 symbols since 4.17 (30206 [2]). There > > seems to be some consensus amongst kernel devs that the export surface > > is too large, and hard to reason about. > > This is good work. > > One solution for drastically reducing the effective export surface is to > have CONFIG_TRIM_UNUSED_KSYMS=y. This is more extreme than symbol > namespace, but might be worth mentioning nevertheless. Oh that's amazing, I never noticed that feature. That is a nice thing, thanks for pointing it out. greg k-h _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 21 Aug 2019 06:37:37 -0700 Subject: [PATCH v3 00/11] Symbol Namespaces In-Reply-To: References: <20190813121733.52480-1-maennich@google.com> <20190821114955.12788-1-maennich@google.com> Message-ID: <20190821133737.GB4890@kroah.com> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Aug 21, 2019 at 08:46:47AM -0400, Nicolas Pitre wrote: > On Wed, 21 Aug 2019, Matthias Maennich wrote: > > > As of Linux 5.3-rc5, there are 31205 [1] exported symbols in the kernel. > > That is a growth of roughly 1000 symbols since 4.17 (30206 [2]). There > > seems to be some consensus amongst kernel devs that the export surface > > is too large, and hard to reason about. > > This is good work. > > One solution for drastically reducing the effective export surface is to > have CONFIG_TRIM_UNUSED_KSYMS=y. This is more extreme than symbol > namespace, but might be worth mentioning nevertheless. Oh that's amazing, I never noticed that feature. That is a nice thing, thanks for pointing it out. greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH v3 00/11] Symbol Namespaces Date: Wed, 21 Aug 2019 06:37:37 -0700 Message-ID: <20190821133737.GB4890@kroah.com> References: <20190813121733.52480-1-maennich@google.com> <20190821114955.12788-1-maennich@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Nicolas Pitre Cc: kstewart-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, oneukum-IBi9RG/b67k@public.gmane.org, linux-aspeed-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, usb-storage-ijkIwGHArpdIPJnuZ7Njw4oP9KaGy4wf@public.gmane.org, Toru Komatsu , Mauro Carvalho Chehab , Nicolas Ferre , David Howells , yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org, Will Deacon , patches-yzvPICuk2AA4QjBA90+/kJqQE7yCjDx5@public.gmane.org, Michael Ellerman , hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org, joel-QYYGw3jwrUn5owFQY34kdNi2O/JbrIOy@public.gmane.org, bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org, sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org, cocci-/FJkirnvOdkvYVN+rsErww@public.gmane.org, linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Benjamin Fair , linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Fabio Estevam , openbmc-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, lucas.de.marchi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Nancy Yuen , mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org, NXP Linux Team , Johan List-Id: linux-arch.vger.kernel.org On Wed, Aug 21, 2019 at 08:46:47AM -0400, Nicolas Pitre wrote: > On Wed, 21 Aug 2019, Matthias Maennich wrote: > > > As of Linux 5.3-rc5, there are 31205 [1] exported symbols in the kernel. > > That is a growth of roughly 1000 symbols since 4.17 (30206 [2]). There > > seems to be some consensus amongst kernel devs that the export surface > > is too large, and hard to reason about. > > This is good work. > > One solution for drastically reducing the effective export surface is to > have CONFIG_TRIM_UNUSED_KSYMS=y. This is more extreme than symbol > namespace, but might be worth mentioning nevertheless. Oh that's amazing, I never noticed that feature. That is a nice thing, thanks for pointing it out. greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linuxfoundation.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=gregkh@linuxfoundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="cIqReoHF"; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46D7yD4TbqzDr0L; Wed, 21 Aug 2019 23:37:40 +1000 (AEST) Received: from localhost (unknown [12.166.174.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E680322DD3; Wed, 21 Aug 2019 13:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566394658; bh=JFZU36i6Q9F7XtqSZvUlAaottGIkq60hvCD4Lb1NkFY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cIqReoHFVucef4CCqQuTnAmpOF23VUGpLWhIJduxBHBHjRm6xTK0+5/6KHG9YQQUy 7E7ICWHeZ+PfIMbPOHCtW0EsikkuDW4rqQzLMHXLZkWwflmQcj7oyp22v/ErogArj2 yBQpm8qYDzszZrhAZd+3wVHH7CwyeRktpNT3XFzM= Date: Wed, 21 Aug 2019 06:37:37 -0700 From: Greg KH To: Nicolas Pitre Cc: Matthias Maennich , linux-kernel@vger.kernel.org, kernel-team@android.com, Arnd Bergmann , geert@linux-m68k.org, hpa@zytor.com, jeyu@kernel.org, joel@joelfernandes.org, kstewart@linuxfoundation.org, linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-modules@vger.kernel.org, linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org, lucas.de.marchi@gmail.com, maco@android.com, maco@google.com, michal.lkml@markovi.net, mingo@redhat.com, oneukum@suse.com, pombredanne@nexb.com, sam@ravnborg.org, sspatil@google.com, stern@rowland.harvard.edu, tglx@linutronix.de, usb-storage@lists.one-eyed-alien.net, x86@kernel.org, yamada.masahiro@socionext.com, Adrian Reber , Alexey Gladkov , Andrew Jeffery , Andrew Morton , Ard Biesheuvel , bcm-kernel-feedback-list@broadcom.com, Benjamin Fair , cocci@systeme.lip6.fr, Dan Williams , David Howells , "David S. Miller" , Fabio Estevam , Gleb Fotengauer-Malinovskiy , Ingo Molnar , Jani Nikula , Johannes Weiner , Julia Lawall , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-hwmon@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-watchdog@vger.kernel.org, Mauro Carvalho Chehab , Michael Ellerman , Nancy Yuen , Nicolas Ferre , NXP Linux Team , openbmc@lists.ozlabs.org, patches@opensource.cirrus.com, Patrick Bellasi , Patrick Venture , Pengutronix Kernel Team , Richard Guy Briggs , Tejun Heo , Toru Komatsu , Will Deacon Subject: Re: [PATCH v3 00/11] Symbol Namespaces Message-ID: <20190821133737.GB4890@kroah.com> References: <20190813121733.52480-1-maennich@google.com> <20190821114955.12788-1-maennich@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Mailman-Approved-At: Mon, 02 Sep 2019 10:34:53 +1000 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2019 13:37:41 -0000 On Wed, Aug 21, 2019 at 08:46:47AM -0400, Nicolas Pitre wrote: > On Wed, 21 Aug 2019, Matthias Maennich wrote: > > > As of Linux 5.3-rc5, there are 31205 [1] exported symbols in the kernel. > > That is a growth of roughly 1000 symbols since 4.17 (30206 [2]). There > > seems to be some consensus amongst kernel devs that the export surface > > is too large, and hard to reason about. > > This is good work. > > One solution for drastically reducing the effective export surface is to > have CONFIG_TRIM_UNUSED_KSYMS=y. This is more extreme than symbol > namespace, but might be worth mentioning nevertheless. Oh that's amazing, I never noticed that feature. That is a nice thing, thanks for pointing it out. greg k-h