Byrne, John (HP Labs)
2009-Jul-20 05:54 UTC
[Xen-devel] 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@lists.xensource.com http://lists.xensource.com/xen-devel
Byrne, John (HP Labs)
2009-Jul-20 16:32 UTC
[Xen-devel] RE: 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-devel