Thread (1 message) 1 message, 1 author, 2019-08-21

Re: [PATCH v3 00/11] Symbol Namespaces

From: Greg KH <hidden>
Date: 2019-08-21 13:37:37
Also in: linux-amlogic, linux-arch, linux-aspeed, linux-samsung-soc, linux-tegra, openbmc

Possibly related (same subject, not in this thread)

On Wed, Aug 21, 2019 at 08:46:47AM -0400, Nicolas Pitre wrote:
On Wed, 21 Aug 2019, Matthias Maennich wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help