From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= Subject: BUG: fbback doesn't unmap pages on disconnect Date: Wed, 18 Dec 2013 16:14:50 +0100 Message-ID: <52B1BBEA.8010404@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3608485808053730871==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============3608485808053730871== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0j1pv2FlPMS8mIBvHlobgPa0DMPGkQ8uP" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0j1pv2FlPMS8mIBvHlobgPa0DMPGkQ8uP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =2E/tools/qemu-xen-traditional-dir-remote/hw/xenfb.c: /* * FIXME: qemu can't un-init gfx display (yet?). * Replacing the framebuffer with anonymous shared memory * instead. This releases the guest pages and keeps qemu happy. */ fb->pixels =3D mmap(fb->pixels, fb->fbpages * XC_PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); Well it doesn't unmap. There is no unmap on this code path. And since the mapping is read-write the pages which are supposed to be released, are now not usable for holding paging table anymore. Can anyone suggest a workaround to munmap those pages? Could this bug be fixed? --0j1pv2FlPMS8mIBvHlobgPa0DMPGkQ8uP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKxu+oACgkQmBXlbbo5nOu0bwD+NCtubKWbEPsvh4cz/f54xNdS a3SuJaac4gj3MNvZ4RYA/35oCAB7SFEoosBWT9cJDFyNy6AKeulFjpmTM9hRpaIu =L93R -----END PGP SIGNATURE----- --0j1pv2FlPMS8mIBvHlobgPa0DMPGkQ8uP-- --===============3608485808053730871== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3608485808053730871==--