mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
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:
parent
a3a8978d77
commit
227b539193
@ -73,7 +73,7 @@ class Sync::Signal
|
||||
}
|
||||
};
|
||||
|
||||
class Counter : private Thread<8 * 1024>
|
||||
class Counter : private Thread<2 * 1024 * sizeof(Genode::addr_t)>
|
||||
{
|
||||
private:
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user