Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 1997 10:44:11 -0800
From:      David Greenman <dg@root.com>
To:        Steve Passe <smp@csn.net>
Cc:        Terry Lambert <terry@lambert.org>, smp@freebsd.org
Subject:   Re: success!! 
Message-ID:  <199701201844.KAA01264@root.com>
In-Reply-To: Your message of "Mon, 20 Jan 1997 10:43:48 MST." <199701201743.KAA11391@clem.systemsix.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> > > I may have gotten "too clever" by counting INT sources with mptable.  If
>> > > NINTR is undefined the kernel source defaults to 24, which works fine with
>> > > all IO APICs, just wastes a little space.
>> > 
>> > 	If it doesn't waste too much space, it might not be a bad idea to
>> > just tell people to use 24, or make it clear that NINTR depends on how many
>> > cards you have in your system.
>> 
>> 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.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701201844.KAA01264>