Improved INCLUDE_CONFIG_FILE

Alex Kozlov spam at rm-rf.kiev.ua
Mon Mar 26 13:35:57 UTC 2007


On Mon, Mar 26, 2007 at 08:12:33AM -0500, Eric Anderson wrote:
> >Overall, having the config file loaded strikes me as a waste of RAM.
> >
> As Larry mentioned, the kernel config file (say GENERIC) is about 10k 
> uncompressed.  If it's bzipped or gzipped, as it is (including comments, 
> etc) it ends up ~4k.  My kernel, is about 7500k (not far from GENERIC), 
> so the additional .05% is probably not noticeable by anyone.
gzip is a bad idea. If You compress config, 
strings kernel | grep ^___ | sed -e 's/^___//'
would no longer work.


--
Adios


More information about the freebsd-current mailing list