|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] VM_FOREIGN could be set into direct_remap_pfn_range()?
>>> Wei Kong <weikong.cn@xxxxxxxxx> 10.11.09 05:48 >>>
>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().
Yes - VM_FOREIGN implies that vma->vm_private_data points to an array
of struct page *, providing the pages for the vma.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|