[PATCH v3 00/11] Symbol Namespaces
nico at fluxnic.net
Wed Aug 21 05:46:47 PDT 2019
On Wed, 21 Aug 2019, Matthias Maennich wrote:
> As of Linux 5.3-rc5, there are 31205  exported symbols in the kernel.
> That is a growth of roughly 1000 symbols since 4.17 (30206 ). 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.
More information about the Linux-mediatek