[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] RE: Memory leak associated with xc_map_foreign_batch?


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Byrne, John (HP Labs)" <john.l.byrne@xxxxxx>
  • Date: Mon, 20 Jul 2009 16:32:46 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Mon, 20 Jul 2009 09:33:39 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcoI/oJRu+nI1pVZSVGdQ8qXrO0aBgAVVHbA
  • Thread-topic: Memory leak associated with xc_map_foreign_batch?

My problem.

> -----Original Message-----
> From: Byrne, John (HP Labs)
> Sent: Sunday, July 19, 2009 10:54 PM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Memory leak associated with xc_map_foreign_batch?
> 
> I running a modified Xen x86_64 based on xen-unstable changeset
> f80cf52a4fb6, linux-2.6.18-xen changset 271d9b9bee40. (Roughly 3.4.0-
> rc4-pre)
> 
> I'm running a process that loops using xc_map_foreign_batch() to map
> bunch of pages from a couple of domains, compares some of them, and
> then calls munmap() on the regions. /proc/meminfo shows a few extra K
> turning up as Pagetables every 10 seconds or so and the machine
> eventually runs out of memory and the OOM killer fires.
> 
> I was wondering if anyone knew of a memory leak in the
> xc_map_foreign_batch()/munmap() path that might have been fixed or
> where I might look? (Or possibly what silly thing I'm doing wrong.)
> 
> Thanks,
> 
> John Byrne


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.