alloc_vm_area() calling vmalloc_sync_all()
Is there a specific reason for this? Other VM area functions don't do this pro-actively, and native only needs this for allowing NMI and MCE notifiers access to vmalloc space (which is being taken care of when registering such handlers).
Thanks, Jan
Yes, the virtual address returned gets passed to e.g., GNTTABOP_map_grant_ref, so the area must be mapped in the current address space immediately. It can't be demand faulted.
-- Keir
Quoted 12 lines · Jan Beulich
Is there a specific reason for this? Other VM area functions don't do this pro-actively, and native only needs this for allowing NMI and MCE notifiers access to vmalloc space (which is being taken care of when registering such handlers).
Thanks, Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel