svn commit: r194629 - head/sys/net
Bjoern A. Zeeb
bz at FreeBSD.org
Mon Jun 22 15:15:08 UTC 2009
On Mon, 22 Jun 2009, Bjoern A. Zeeb wrote:
> Author: bz
> Date: Mon Jun 22 15:07:12 2009
> New Revision: 194629
> URL: http://svn.freebsd.org/changeset/base/194629
> Collect all VIMAGE_GLOBALS variables in one place.
> No longer export rt_tables as all lookups go through
> We cannot make rt_tables (and rtstat, rttrash) static as
> netstat -r (-rs) would stop working on a stripped
> VIMAGE_GLOBALS kernel.
> Reviewed by: zec
> Presumably broken by: phk 13.5y ago in r12820 
Which seriously leads to the questions:
1) is this because we do not ship stripped kernels?
2) is the kvm_* interface to read them the wrong way?
3) those stats are useless and should be garbage collected entirely?
I only tripped over this because I wanted to do the same to rt_tables
as phk did 13.5 years back to rtstat,rttrash and Marko made me
tripple check things.
Bjoern A. Zeeb The greatest risk is not taking one.
More information about the svn-src-all