Received: from eggs.gnu.org ([2001:4830:134:3::10]:47614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6S9-00007r-Am for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:22:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6S5-0006L8-8z for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:22:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6S5-0006Ky-20 for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:21:57 -0400 References: <5768F923.7040502@kamp.de> <20160621131815.GB2264@work-vm> <576BF910.70304@kamp.de> From: Paolo Bonzini Message-ID: <178ee05d-cb23-e1ba-5a7f-87a5caef1e91@redhat.com> Date: Thu, 23 Jun 2016 17:21:52 +0200 MIME-Version: 1.0 In-Reply-To: <576BF910.70304@kamp.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Qemu and heavily increased RSS usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven , "Dr. David Alan Gilbert" Cc: "qemu-devel@nongnu.org" , Fam Zheng , Peter Maydell On 23/06/2016 16:58, Peter Lieven wrote: > commit ba3f4f64b0e941b9e03568b826746941bef071f9 > Author: Paolo Bonzini > Date: Wed Jan 21 12:09:14 2015 +0100 > > exec: RCUify AddressSpaceDispatch > > Note that even after this patch, most callers of address_space_* > functions must still be under the big QEMU lock, otherwise the memory > region returned by address_space_translate can disappear as soon as > address_space_translate returns. This will be fixed in the next part > of this series. > > Reviewed-by: Fam Zheng > Signed-off-by: Paolo Bonzini > > @Paolo, @Fam, any idea? When you use RCU, freeing stuff is delayed a bit. Paolo