[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Converting heap page_infos to contiguous virtual
I would like to clear a bunch of Xen heap pages at once (i.e. not page-by-page). Greatly simplifying things, let's say I grab (in common/page_alloc.c) pg = page_list_remove_head(&heap(node, zone, order) and then mfn_t mfn = _mfn(page_to_mfn(pg)); char *va = mfn_to_virt(mfn_x(mfn)); memset(va, 0, 4096 * (1 << order)); Would it be valid to this? Do I need to account for the PDX hole? Thanks. -boris _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |