]> git.ipfire.org Git - thirdparty/qemu.git/commit
coroutine: trim down nesting level in perf_nesting test
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Feb 2013 10:59:10 +0000 (11:59 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 2 Apr 2013 15:04:32 +0000 (10:04 -0500)
commit51968b8503a00b5128fb4e3ed14efb8dc69579ce
tree022e71c2df982cc2d1e951359c47961cc1f8011b
parent80d8b5da48c29bfb086254a6caf87a432f63d130
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>
(cherry picked from commit 027003152f4cf21952f9282b4487daf3fdd372ba)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/test-coroutine.c