vmware3 patch for -CURRENT

Mark Santcroos marks at ripe.net
Mon Jan 19 01:00:32 PST 2004


Hi Orlando,

Please make the following change to your repo, it is needed to keep up
with the latest vm changes in -CURRENT.

Mark


--- vmmon-only.diff	Tue Nov 18 03:32:46 2003
+++ vmmon-only_bis.diff	Fri Jan 16 18:18:45 2004
@@ -2253,7 +2253,7 @@
 +	 */
 +	VMDEBUG("vmmon_alloc_low_pages: vm_page_alloc_contig: sz %lu hi %u\n",
 +			numPages * PAGE_SIZE, high);
-+	va = vm_page_alloc_contig(numPages * PAGE_SIZE, 0, high, PAGE_SIZE);
++	va = (vm_offset_t)contigmalloc(numPages * PAGE_SIZE, M_DEVBUF, M_NOWAIT, 0, high, PAGE_SIZE, 0);
 +	if (!va) {
 +		VMDEBUG("vmmon_alloc_low_pages: vm_page_alloc_contig failed\n");
 +		goto bad;


More information about the freebsd-emulation mailing list