xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Bug in tmem: refcount leak leaves zombie saved domains
@ 2010-06-10  9:46 Keir Fraser
  2010-06-10 13:08 ` Dan Magenheimer
  0 siblings, 1 reply; 10+ messages in thread
From: Keir Fraser @ 2010-06-10  9:46 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com; +Cc: Dan Magenheimer

Dan,

Just doing some save/restore testing on xen-unstable tip, I noticed that:
# xm create ./pv_config
# xm save PV1

Would leave the saved guest as a zombie in the DOMDYING_dead state with no
pages, yet with refcnt=1. This happens absolutely consistently. Just as
consistently, it does not happen when I boot Xen with no-tmem. My conclusion
is that tmem is leaking a domain reference count during domain save. This
doesn't happen if I merely "xm create ...; xm destroy ...".

My pv_config file contains nothing exciting:
kernel = "/nfs/keir/xen/xen64.hg/dist/install/boot/vmlinuz-2.6.18.8-xenU"
memory = 750
name = "PV1"
vcpus = 2
vif = [ 'mac=00:1a:00:00:01:01' ]
disk = [ 'phy:/dev/VG/Suse10.1_64_1,sda1,w' ]
root = "/dev/sda1 ro xencons=tty"
extra = ""
tsc_native = 1
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'preserve'

The dom{0,U} kernels are tip of linux-2.6.18-xen, default -xen{0,U} configs.

 -- Keir

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-06-11  7:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-10  9:46 Bug in tmem: refcount leak leaves zombie saved domains Keir Fraser
2010-06-10 13:08 ` Dan Magenheimer
2010-06-10 15:38   ` Dan Magenheimer
2010-06-10 16:12     ` Keir Fraser
2010-06-10 17:54       ` Dan Magenheimer
2010-06-10 20:06         ` Keir Fraser
2010-06-10 21:43           ` Keir Fraser
2010-06-10 22:34             ` Dan Magenheimer
2010-06-11  7:39         ` Jan Beulich
2010-06-10 16:34     ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).