WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] VM_FOREIGN could be set into direct_remap_pfn_range()?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] VM_FOREIGN could be set into direct_remap_pfn_range()?
From: Wei Kong <weikong.cn@xxxxxxxxx>
Date: Tue, 10 Nov 2009 12:48:39 +0800
Delivery-date: Mon, 09 Nov 2009 20:49:02 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=+kJpjlLtCSvJyvRf5gwc1JP8mMKb3z26O+xLzx3ft/k=; b=fjcOvk+TqCVhWfRq2P2PHpGzRHVso090eOzLZGrVQtAxHgv5PoBCGyz2PpeK5U8MwH m9oiuPMfvb0fVGk0BUnFjK0b9Wx+lMycRSvo33FmWRNrJB5oYUQyncKprl0v4GCMY8Xs zxziXvWYZAQo7usjY68kjCBUFQh1KZxInivPo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XXrPsg6egWDOD05ear1we3YWd5x6t7fyug0ZQsDBYeONhcTJ8iMqjTABzQSfRwZzrS 5oBAPh2WuR/wnwUiaiuabAxWsWRgEdUpVhc4N4dLTtEVWfx4yIDIHcI8sDbik3VU4tDt NeK+xSBr1vUGORLTEklRsg3jBmS0O6B2+xBFk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Now we encounter a EFAULT in get_user_pages() when xm save on old ocfs2-1.4.1 fs.
Due to in xc_domain_save got VM_IO when mmap and IOCTL_PRIVCMD_MMAPBATCH, but not VM_FOREIGN,
but old ocfs2-1.4.1 has get_user_pages() when do write.

I don't know is there any side effect if I set VM_FOREIGN for vm_flags in direct_remap_pfn_range().

--thank you
Kong
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>