On Mon, Nov 21, 2005 at 12:19:36AM -0600, Rob Landley wrote:
> Just curious if this is at all relevant to us, in light of the "yank 8k
> stacks" patch proposed...
That's just on i386. Each arch defines its own stack size, and UML uses
16K. Not that that's good, so we might be following i386 at some point, at
least to 8K.
> $ make checkstack
> objdump -d vmlinux $(find . -name '*.ko') | \
> perl /home/landley/linux-2.6.15-rc1/scripts/checkstack.pl i386
> 0xa010ddcf buffered_vfprintf: 33168
> 0xa010deca buffered_vfprintf: 33168
> 0xa00e5d5b buffered_vfprintf: 8416
> 0xa00e5e43 buffered_vfprintf: 8416
I don't think these are of concern, but feel free to double-check :-)
If you look at the code, you'll see some care in making sure that certain
things (like printf) run only on the initial process stack, which is expanded
as needed by the host, and not on a UML kernel, which isn't.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel