On 3/22/18 11:27 AM, Bart Van Assche wrote: > On Thu, 2018-03-22 at 11:23 -0600, Jens Axboe wrote: >> On 3/22/18 11:12 AM, Bart Van Assche wrote: >>> Where is the sk_out structure allocated? Can Valgrind know whether or not >>> that structure has been initialized? >> >> In server.c:accept_loop() and that structure is memset at alloc >> time as it's coming out of smalloc(). > > Would you be OK with changing that smalloc() call into scalloc() such that > Valgrind knows that that structure is initialized? On my laptop the following > is sufficient to suppress the complaints mentioned in my previous e-mail: Sure, done. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html