[ovs-dev] [PATCH 5/5] ovs-vswitchd: Avoid or suppress memory leak warning for glibc aio.

Ben Pfaff blp at ovn.org
Thu Feb 1 19:31:24 UTC 2018


On Mon, Jan 29, 2018 at 02:31:31PM -0800, William Tu wrote:
> On Thu, Jan 25, 2018 at 3:39 PM, Ben Pfaff <blp at ovn.org> wrote:
> > The asynchronous IO library in glibc starts threads that show up as memory
> > leaks in valgrind.  This commit attempts to avoid the warnings by flushing
> > all the asynchronous I/O to the log file before exiting.  This only does
> > part of the job for glibc since it keeps the threads around for some
> > undefined idle time before killing them, so in addition this commit adds a
> > valgrind suppression to stop displaying these warnings in any case.
> >
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> > ---
> 
> Looks good to me.
> Acked-by: William Tu <u9012063 at gmail.com>

Thank you for the reviews.  I applied this series to master.


More information about the dev mailing list