Date: Mon, 10 Jul 2000 15:36:30 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Ben Smithurst <ben@FreeBSD.org> Cc: freebsd-questions@FreeBSD.org Subject: Re: Automatic reboot out of the blue. Message-ID: <XFMail.000710153630.jhb@FreeBSD.org> In-Reply-To: <20000710225704.G94380@strontium.scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10-Jul-00 Ben Smithurst wrote: > John Baldwin wrote: > >> With an ELF kernel (such as we've had since 3.1), the debugging >> symbols are skipped over when the kernel is loaded, so the memory >> usage will stay the same. > > Aha, thanks. The handbook says this: > > You may also install the unstripped kernel, but symbol table lookup time > for some programs will drastically increase, and since the whole kernel > is loaded entirely at boot time and cannot be swapped out later, several > megabytes of physical memory will be wasted. > > You're saying that's wrong? If so, I may as well make use of my new > commit bit and fix it. :-) Is the bit about symbol talble lookup time > still correct? If so, I suggest removing everything from "and since" > onwards. There's another problem with that bit, which is addressed in > a PR I'm looking at (basically it says to copy the kernel and strip it, > but this is done for you these days). It was right for a.out kernels, but it is wrong for ELF kernels. :) We've been using ELF kernels since 3.1 though. > -- > Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000710153630.jhb>