In message <[EMAIL PROTECTED]> Julian 
Elischer writes:
: We may go to 2 pages but really 1 page is enough as long as people 
: don't store structures on the stack. It's been kept small to keep the
: overhead of processes and threads down. When we get threads (KSE) we may
: have theoretically thousands more of these, on potentially smaller boxes..

One interesting note is that if you call PCI BIOS, you have to
guarantee you have at least 1k available to do so.  I think that the
current instances of the code comply, but if the stack size gets a lot
smaller, I'm less sure.

: The main poitn is that it's FIXED and that you can have recursion and
: interrupts so kernel programmers should know that a stack is a minimal
: resource. To some extent keeping it VERY small helps force this disciplin
: on people.

Some forced discipline may not be possible when dealing with external
interfaces.

I do not know if other platforms (open firmware) have similar
requirements or not.  Since I have my fingers in the PCI BIOS code at
the moment and reading the PCI BIOS docs, I thought I'd mention it.

Warner

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

Reply via email to