Initialize the new_thread_stack so syslet support testing has one
[fio.git] / engines / syslet-rw.c
index e0dddd8761268487c8ce15f2c000a4cd8603e18a..dcfcb79f4b16b62c4c0c5038b9548a72ee3cfaf6 100644 (file)
@@ -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;
 }