cpu_quota x86_64: fix RAM quota and stack size

The test threads previously used a stack size independent from the machine
word width. Qemu was previously configured to provide 64Mb of RAM which isn't
sufficient for x86_64.

Ref #1805
This commit is contained in:
Martin Stein 2015-12-02 12:14:31 +01:00 committed by Christian Helmuth
parent a3a8978d77
commit 227b539193
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class Sync::Signal
}
};
class Counter : private Thread<8 * 1024>
class Counter : private Thread<2 * 1024 * sizeof(Genode::addr_t)>
{
private:

View File

@ -128,7 +128,7 @@ build_boot_image "core init timer test-cpu_quota test-sync"
# Execution
#
append qemu_args "-nographic -m 64"
append qemu_args "-nographic -m 128"
run_genode_until ".*done.*\n.*done.*\n.*done.*\n" 100