[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/5] [RESEND] changes of common files for xen/ia64 dom0 vp model: privcmd_mmap
On Fri, Apr 28, 2006 at 02:43:58PM +0100, Keir Fraser wrote: > > On 28 Apr 2006, at 03:52, Isaku Yamahata wrote: > > >introduce xen_arch_privcmd_mmap() to allow xen/ia64 to override > >privcmd_mmap() > >later. > >xen/ia64 with dom0 vp model also needs direct_remap_pfn_range() to be > >called > >for IOCTL_PRIVCMD_MMAPBATCH. > >These changes are necessary for xen/ia64 with dom0 vp model. > > Can you describe the use of xen_arch_privcmd_mmap() for ia64? I checked > in the other hunks of this patch, but excluded the > xen_arch_privcmd_mmap bits for now -- they can go in a separate patch. It sets its own vma->vm_ops to track mmap/munmap. When the region is completely unmapped, pages of a foreign domain are zapped from dom0. I attached the patch which implements it. (HYPERVISOR_add_physmap(), HYPERVISOR_zap_physmap() are ia64 specific hypercalls.) It can't be applied to xen-unstable.hg nor xen-ia64-unstable.hg cleanly because it is one of the series patches which is being merged. The patch will be merged into xen-ia64-unstable.hg in the near future. (At least I hope so) I think it can be simplified using PageForeign() and its families. When I wrote it I did't want to use PG_foreign bit. -- yamahata Attachment:
9780:ffd79e3ceeda_privcmd_direct_remap_pfn_range_linux.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |