From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= Subject: Re: race condition in xen-gntdev Date: Tue, 30 Jun 2015 17:51:15 +0200 Message-ID: <20150630155115.GE1498@mail-itl> References: <20150430144744.GF919@mail-itl> <20150527234508.GA14838@mail-itl> <20150617194211.GB11083@mail-itl> <20150622174626.GH5408@l.oracle.com> <20150622181335.GJ11083@mail-itl> <20150622183713.GD9631@l.oracle.com> <55885E88.2040805@tycho.nsa.gov> <20150626012824.GD967@mail-itl> <5592B535.9070802@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7336083502914068925==" Return-path: In-Reply-To: <5592B535.9070802@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: Daniel De Graaf , Boris Ostrovsky , xen-devel List-Id: xen-devel@lists.xenproject.org --===============7336083502914068925== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EP0wieDxd4TSJjHq" Content-Disposition: inline --EP0wieDxd4TSJjHq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 30, 2015 at 04:26:45PM +0100, David Vrabel wrote: > On 26/06/15 02:28, Marek Marczykowski-G=C3=B3recki wrote: > >=20 > > From b876e14888bdafa112c3265e6420543fa74aa709 Mon Sep 17 00:00:00 2001 > > From: =3D?UTF-8?q?Marek=3D20Marczykowski-G=3DC3=3DB3recki?=3D > > > > Date: Fri, 26 Jun 2015 02:16:49 +0200 > > Subject: [PATCH] xen/grant: fix race condition in gntdev_release > >=20 > > While gntdev_release is called, MMU notifier is still registered and > > can traverse priv->maps list even if no pages are mapped (which is the > > case - gntdev_release is called after all). But gntdev_release will > > clear that list, so make sure that only one of those things happens at > > the same time. >=20 > Applied to for-linus-4.2 and tagged for stable, thanks. Regarding stable backports - remember that before 4.0, there was a spin lock not a mutex. I've stumbled on this while testing on 3.18... --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --EP0wieDxd4TSJjHq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVkrrzAAoJENuP0xzK19csUt8H/A6TMNwZLhFIAVIXaHVCwqkV yY3MNHx665KqtQ20deTr9GnkIilE+1DtCH08Mle/Do2BtS74WMe0FJb7uYEAzC0j sA7tXT/q5jOOeSzPCD/7Z5lCHBGYb/v7owFlC6WlZYg2ZMK5Wr7vrrXt9WdnOZXC YHJH+VUYHtei1+WdugOehM7vXQvq7/cVguB+qan9lRfWZlhcr3FLEcNS0nAFsPRP ux4rhgufKKXRthdwjLSeCXy/4HaIpx9OQ3dFzRBlc1Voz7HVrLTT29QqiMt0RNCq AYRE+aDgijyfYyDHOlA/O1BRcNZgCpaNteAEQxnto72ggiW8EUZo0WkuisJHit0= =ca9Q -----END PGP SIGNATURE----- --EP0wieDxd4TSJjHq-- --===============7336083502914068925== 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 --===============7336083502914068925==--