[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [Linux PATCH] Mark hugepages to the hypervisor to speed up mapping (with signoff this time)
On Wednesday, June 09, 2010, Jeremy Fitzhardinge wrote: > > + return 1; > > + } > > + for (i = 0, m = mfn; i < HPAGE_SIZE/PAGE_SIZE; i++, pfn++, m++) { > > + if (pfn_to_mfn(pfn) != m) { > > + printk("Guest pages are not properly aligned to use > > hugepages\n"); > > > > > > Isn't this a superset of the previous test? The code is doublechecking to make sure this hugepage is actually contiguous at the machine level. Dave McCracken Oracle Corp. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |