From: Zach Brown Date: Wed, 19 Sep 2007 06:42:18 +0000 (+0200) Subject: Initialize the new_thread_stack so syslet support testing has one X-Git-Tag: fio-1.17.2~15 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=6a117e0ce9fca919c0477048a9b844d1a84bb005;ds=sidebyside Initialize the new_thread_stack so syslet support testing has one Signed-off-by: Zach Brown Signed-off-by: Jens Axboe --- diff --git a/engines/syslet-rw.c b/engines/syslet-rw.c index e0dddd87..dcfcb79f 100644 --- a/engines/syslet-rw.c +++ b/engines/syslet-rw.c @@ -281,6 +281,7 @@ static int async_head_init(struct syslet_data *sd, unsigned int depth) sd->ahu.head_stack = thread_stack_alloc(); sd->ahu.head_eip = (unsigned long) cachemiss_thread_start; sd->ahu.new_thread_eip = (unsigned long) cachemiss_thread_start; + sd->ahu.new_thread_stack = thread_stack_alloc(); return 0; }