Roland Mainz wrote:
Dan Mick wrote:
Roland Mainz wrote:
Peter Memishian wrote:
> > Actual data (from Kit Chow's recent tests): building with -xstrconst saves
> > 389K of text on a DEBUG kernel. Certainly not "~~10.1MB", but non-trivial.
>
> Is that just "genunix" or the whole kernel with all modules ?
Just genunix and unix, I believe.
How much is saved when the whole kernerl with all modules gets compiled
with "-xstrconst" ?
There isn't any kernel compilation step that "compiles" kernel modules against
the kernel. The closest we have is global lint and ctf manipulation.
[snip]
Erm... lets rephrase my question: What's the amount of disk space saved
in $ROOT if we recompile the usr/src/uts/ subdir with "-xstrconst"
enabled for all code in this subdir (uhm... I can't test that myself...
my machine would need around two or three days to compile such a test
run... ;-( ) ?
All that would do is make the modules eliminate duplicate strings inside
themselves, and I imagine that would not save very much.
2-3 days?? Good god, are you running Solaris thru three emulators on a 90MHz
machine? Building the entire tree, once, without lint, takes just over an hour
on any reasonably-cheap machine today...
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code