From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zegyc-0007Om-Dp for qemu-devel@nongnu.org; Wed, 23 Sep 2015 06:08:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZegyZ-00025O-7j for qemu-devel@nongnu.org; Wed, 23 Sep 2015 06:08:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZegyY-00025E-Uz for qemu-devel@nongnu.org; Wed, 23 Sep 2015 06:08:35 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 8E8A091593 for ; Wed, 23 Sep 2015 10:08:34 +0000 (UTC) Date: Wed, 23 Sep 2015 11:08:30 +0100 From: "Daniel P. Berrange" Message-ID: <20150923100830.GU15421@redhat.com> References: <1442506130-15219-1-git-send-email-marcandre.lureau@redhat.com> <1442506130-15219-6-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1442506130-15219-6-git-send-email-marcandre.lureau@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 5/5] monitor: remove old entries from event hash table Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marcandre.lureau@redhat.com Cc: amit.shah@redhat.com, lersek@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com On Thu, Sep 17, 2015 at 06:08:50PM +0200, marcandre.lureau@redhat.com wro= te: > From: Marc-Andr=C3=A9 Lureau >=20 > Do not let the hash table grow without limit, schedule a cleanup for > outdated event. >=20 > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > monitor.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++--= --- > 1 file changed, 53 insertions(+), 5 deletions(-) Reviewed-by: Daniel P. Berrange Regards, Daniel --=20 |: http://berrange.com -o- http://www.flickr.com/photos/dberrange= / :| |: http://libvirt.org -o- http://virt-manager.or= g :| |: http://autobuild.org -o- http://search.cpan.org/~danberr= / :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vn= c :|