Date: Mon, 20 Jan 1997 12:02:27 -0700 From: Steve Passe <smp@csn.net> To: dg@root.com Cc: smp@freebsd.org Subject: Re: success!! Message-ID: <199701201902.MAA11852@clem.systemsix.com> In-Reply-To: Your message of "Mon, 20 Jan 1997 10:44:11 PST." <199701201844.KAA01264@root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > >> Why not just dynmically allocate the things and be done with it forever? > >> > >> The code doesn't have to be 100% efficient; it's boot code. > > > >its a matter of timing, can I safely use malloc early in init386? > > No. The VM system hasn't been initialized yet at that point. In fact, the > kernel hasn't even determined how many physical pages are in the system yet. I'm just going to compile in (NAPIC * 30) and be done with it. They only cost 8 bytes each. We almost always need 16-21, so its not too much wastage. -- Steve Passe | powered by smp@csn.net | FreeBSD -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzHe7tEAAAEEAM274wAEEdP+grIrV6UtBt54FB5ufifFRA5ujzflrvlF8aoE 04it5BsUPFi3jJLfvOQeydbegexspPXL6kUejYt2OeptHuroIVW5+y2M2naTwqtX WVGeBP6s2q/fPPAS+g+sNZCpVBTbuinKa/C4Q6HJ++M9AyzIq5EuvO0a8Rr9AAUR tBlTdGV2ZSBQYXNzZSA8c21wQGNzbi5uZXQ+ =ds99 -----END PGP PUBLIC KEY BLOCK-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701201902.MAA11852>