Re: [PATCH 14/24] net, diet: Make MIB statistics collections depend on PROC_FS

David Miller
2014-05-06T03:06:00Z

From: Andi Kleen <andi@firstfloor.org>
Date: Mon, 5 May 2014 15:26:03 -0700

> From: Andi Kleen <ak@linux.intel.com>
>
> When PROC_FS is not compiled in we don't need the statistics
> gathering code, as the only way to see the output is through
> /proc. Saves about 5k text, likely more in dynamic memory.
>
> text data bss dec hex filename
> 386302 8993 12564 407859 63933 net/built-in.o-with-mib
> 381542 8933 12564 403039 6265f net/built-in.o-wo-mib
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Congratulations, you just broke ipv6 device address netlink
dumps amongst other things.