Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 1998 21:12:04 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        mi@aldan.algebra.com (Mikhail Teterin)
Cc:        current@FreeBSD.ORG
Subject:   Re: strings in the kernel (was: snprintf() in the kernel)
Message-ID:  <199811200512.VAA18941@bubba.whistle.com>
In-Reply-To: <199811191355.NAA03525@aldan.algebra.com> from Mikhail Teterin at "Nov 19, 98 01:55:25 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin writes:
> This reminds me of a marginally related issue:
> 
> 	strings /kernel | sort -u | wc
> 	   14409   22343  235606
> 		vs.
> 	strings /kernel | wc
> 	   25522   34130  317264
> 
> In other words, there are 11113 duplicate lines in my kernel,
> amounting for a total of 91658 bytes. And this does not even include
> different strings with huge common sub-strings, such as:

Sounds like a job for mr. linker.. is there support
the smashing together of identical strings in the
text segment?

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811200512.VAA18941>