From: Keir Fraser Subject: Re: Live migration fails under heavy network use Date: Wed, 21 Feb 2007 07:32:10 +0000 Message-ID: References: <20070221004156.GB31928@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070221004156.GB31928@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: Ian Pratt , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 21/2/07 00:41, "John Levon" wrote: > On Wed, Feb 21, 2007 at 12:06:52AM +0000, Keir Fraser wrote: > >>> Urk. Checkout line 204 of privcmd.c >>> That doesn't look too 64b clean to me.... > > Hmm, I never looked at the Linux privcmd driver before. It seems like > you're prefaulting all the pages in the ioctl() in on the ioctl. > Currently on Solaris we're demand-faulting each page in the mmap() ... > > It looks like we're not checking that we ca actually map the page at the > time of the ioctl(), thus it's not ending up as marked with that bit. > > Looks like our bug... If you check then you may as well map at the same time. I think it would actually be hard to defer the mapping in a race-free manner. -- Keir