|
|
Subscribe / Log in / New account

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

From:  David Miller <davem-AT-davemloft.net>
To:  andi-AT-firstfloor.org
Subject:  Re: [PATCH 14/24] net, diet: Make MIB statistics collections depend on PROC_FS
Date:  Mon, 05 May 2014 23:05:58 -0400 (EDT)
Message-ID:  <20140505.230558.1799358791667540111.davem@davemloft.net>
Cc:  netdev-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, tom.zanussi-AT-linux.intel.com, ak-AT-linux.intel.com
Archive‑link:  Article

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.



to post comments


Copyright © 2014, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds