Re: [PATCH 14/24] net, diet: Make MIB statistics collections depend on PROC_FS
From: David Miller
Date: Mon May 05 2014 - 23:06:06 EST
From: Andi Kleen <andi@xxxxxxxxxxxxxx>
Date: Mon, 5 May 2014 15:26:03 -0700
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>
Congratulations, you just broke ipv6 device address netlink
dumps amongst other things.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/