[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.