qemu-irix/linux-user
Richard Henderson 703e0e89c6 linux-user: Use RLIMIT_STACK for default stack size.
The current default stack limit of 512kB is far too small; a fair
number of gcc testsuite failures (for all guests) are directly
attributable to this.  Using the -s option in every invocation of
the emulator is annoying to say the least.

A reasonable compromise seems to be to honor the system rlimit.
At least on two Linux distributions, this is set to 8MB and 10MB
respectively.  If the system does not limit the stack, then we're
no worse off than before.

At the same time, rename the variable from x86_stack_size and
change the ultimate fallback size from 512kB to 8MB.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-03-27 14:16:51 +01:00
..
alpha alpha-linux-user: Implement signals. 2010-02-28 17:54:52 +01:00
arm linux-user: Add the syscall id for pselect6 on ARM 2010-03-26 20:48:30 +01:00
cris
i386
m68k
microblaze
mips
mips64
mipsn32
ppc
sh4
sparc
sparc64
x86_64
cpu-uname.c linux-user: adapt uname machine to emulated CPU 2010-02-06 17:19:43 +01:00
cpu-uname.h linux-user: adapt uname machine to emulated CPU 2010-02-06 17:19:43 +01:00
elfload.c linux-user: Use RLIMIT_STACK for default stack size. 2010-03-27 14:16:51 +01:00
elfload32.c
errno_defs.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c
m68k-sim.c
main.c linux-user: Use RLIMIT_STACK for default stack size. 2010-03-27 14:16:51 +01:00
mmap.c Fix usermode virtual address type 2010-03-12 23:25:52 +00:00
qemu-types.h
qemu.h linux-user: Use RLIMIT_STACK for default stack size. 2010-03-27 14:16:51 +01:00
signal.c Replace assert(0) with abort() or cpu_abort() 2010-03-18 18:41:57 +00:00
socket.h
strace.c Fix strace or FUTEX_PRIVATE_FLAG 2010-02-19 16:04:51 +00:00
strace.list
syscall.c linux-user: add inotify_init1 syscall support 2010-03-26 17:15:10 +01:00
syscall_defs.h alpha-linux-user: Implement signals. 2010-02-28 17:54:52 +01:00
syscall_types.h
uaccess.c
vm86.c