WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: Memory leak associated with xc_map_foreign_batch?
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] RE: Memory leak associated with xc_map_foreign_batch?, Byrne, John (HP Labs) <=