Skip to contentSkip to conversation

alloc_vm_area() calling vmalloc_sync_all()

DISCUSSION Jan Beulich 2 participants 2 messages Nov 19, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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