From: Keir Fraser Subject: Re: Re: dom0 pvops crash apparently due to guest migration Date: Tue, 30 Nov 2010 12:17:17 +0000 Message-ID: References: <4CF3F6BC.3020906@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CF3F6BC.3020906@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge , Ian Jackson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 29/11/2010 18:53, "Jeremy Fitzhardinge" wrote: > Hm, I'm still not really sure why alloc_vm_area() does a > vmalloc_sync_all in the first place... But that BUG shouldn't happen > regardless. I think vmalloc_sync_all() is required only if alloc_vm_area()'d regions are used as hypercall buffers. I'm not sure if they ever are, these days. The sync wouldn't be needed for allocated regions use as shared rings, for example. You might be able to do a quick audit of users and then remove the vmalloc_sync_all(). Presumably if v_s_a is planned to go away it'd be nice to get rid of this usage for that reason also. -- Keir