From: Tobias Hunger Subject: Refcounting domains... is this a bug? Date: Tue, 8 Feb 2005 19:03:30 +0100 Message-ID: <200502081903.35430.tobias@aquazul.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2095956.kkYY6Sg5Ep"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org --nextPart2095956.kkYY6Sg5Ep Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi there! I am having trouble destroying domains: The ref_count of the domain stays a= t=20 one, so it never gets properly destructed. I looked a bit into the problem and I think it has something to do with the= =20 grant_table. When calling do_createdomain during creation of a domain the grant table is= =20 set up and the reference count is incremented by the SHARE_PFN_WITH_DOMAIN= =20 macro. During destruction of a domain the grant table seems to be completel= y=20 ignored... and thus the refcount stays 1 when Xen is done with the=20 DESTROYDOMAIN hypercall. Could someone with a better understanding of the issue look into this=20 please... I am still reading up on all those memory issues a kernel has to= =20 deal with:-) =2D- Gruss, Tobias =2D----------------------------------------------------------- Tobias Hunger The box said: 'Windows 95 or better' tobias@aquazul.com So I installed Linux. =2D----------------------------------------------------------- --nextPart2095956.kkYY6Sg5Ep Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCCP73v0FZW3NyoqURAgzuAKCFrxeU8MJbE6u4SkI3zoLH8XvHDACfWwp9 EHMD/zIS2kLgWJP+KaeU2OQ= =QEbx -----END PGP SIGNATURE----- --nextPart2095956.kkYY6Sg5Ep-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click