[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] rcu: reduce half heap memory size by malloc_tri
From: |
Zhong Yang |
Subject: |
Re: [Qemu-devel] [PATCH] rcu: reduce half heap memory size by malloc_trim() |
Date: |
Tue, 21 Nov 2017 11:12:08 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 20, 2017 at 10:28:28PM +0800, Fam Zheng wrote:
> On Fri, 11/17 14:23, Yang Zhong wrote:
> > diff --git a/util/rcu.c b/util/rcu.c
> > index ca5a63e..8d491a6 100644
> > --- a/util/rcu.c
> > +++ b/util/rcu.c
> > @@ -26,6 +26,7 @@
> > * IBM's contributions to this file may be relicensed under LGPLv2 or
> > later.
> > */
> >
> > +#include <malloc.h>
>
> BTW, if you respin, the "qemu/osdep.h" header should always be included first
> as
> per HACKING file.
Hello Fam,
Thanks for your reminder!
I ever thought the header file include in Qemu like linux kernel did, thanks
again!
Regards,
Yang