Kernel thread stack size
Konstantin Belousov
kostikbel at gmail.com
Mon Jul 23 08:17:12 UTC 2012
On Mon, Jul 23, 2012 at 02:54:30AM -0400, Richard Yao wrote:
> What is the default kernel thread stack size on FreeBSD? I am
> particularly interested in knowing about i386 and amd64, but knowing
> this for other architectures (such as MIPS) would also be useful.
>
Look for the KSTACK_PAGES symbol defined in sys/<arch>/include/param.h.
It defines _default_ number of pages allocated for kernel stack of
new thread.
We have 4 pages for amd64, and 2 pages for i386, AFAIR. Look up the MIPS
yourself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120723/4dd6b43f/attachment.pgp
More information about the freebsd-hackers
mailing list