diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-19 11:59:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-02-22 21:21:10 +0100 |
commit | 027003152f4cf21952f9282b4487daf3fdd372ba (patch) | |
tree | bf6c5b5846ef244ff4252aae6dc9d89f8b8fa2fe | |
parent | 402397843e20e35d6cb7c80837c7cfdb19ede591 (diff) |
coroutine: trim down nesting level in perf_nesting test
20000 nested coroutines require 20 GB of virtual address space.
Only nest 1000 of them so that the test (only enabled with
"-m perf" on the command line) runs on 32-bit machines too.
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r-- | tests/test-coroutine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-coroutine.c b/tests/test-coroutine.c index 4c6cc81fb9..39be046ec7 100644 --- a/tests/test-coroutine.c +++ b/tests/test-coroutine.c @@ -183,7 +183,7 @@ static void perf_nesting(void) double duration; maxcycles = 100000000; - maxnesting = 20000; + maxnesting = 1000; Coroutine *root; NestData nd = { .n_enter = 0, |