Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 08:47:55 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        orlando.bassotto@ieo-research.it
Cc:        freebsd-emulation@freebsd.org
Subject:   vmware3 patch for -CURRENT
Message-ID:  <20040119074755.GA880@laptop.6bone.nl>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040119074755.GA880>