Mike Smith wrote:
> > > That was it. Is the 4MB kernel size limit documented anywhere?
> > 
> > I don't know :-)   I luckily noticed this by a lot of trials.
> 
> I'm not aware of any 4MB limit on kernel size (and I ought to be if there 
> is one 8).  Can you run the details past me?  (I've regularly booted much 
> larger kernels in the past...)

Uhh, are you sure?  Ignore the size of the file, what does 'size(1)' say
about these large kernels?  Does text+data+bss excede 4MB?  I have a
nagging suspicion that we only set up 4MB of page tables during the early
part of the bootstrap process in locore.s.  (forgive me for not looking,
I have a most evil headache and locore.s is no way to improve it :-).
Thinking about it some more, there may be a 3MB limit as we load above
1MB.  I recall some heavy magic with the SMP bootstrap where we only use one
PTD slot for 0-4MB in early boot....

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to