tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD-8 kernel too big?



If anyone is interested in reducing large sizes, try this:
$ nm --print-size --size-sort --radix=d /netbsd

some of the biggest offenders come from:
neo(4)'s neo-ceoff.h
sys/dev/microcode in general

etc.

Also, looking at it with xxd, a lot of stuff is just zeroes.
I assumed it is the alignment padding for 2MB pages but changing the
ldscript did not help (maybe I'm doing it wrong)


Home | Main Index | Thread Index | Old Index