Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2009 18:11:59 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r195660 - head/sys/sun4v/sun4v
Message-ID:  <200907131811.n6DIBxjn032069@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Mon Jul 13 18:11:59 2009
New Revision: 195660
URL: http://svn.freebsd.org/changeset/base/195660

Log:
  Correct an error of omission in r195649 ("Add support to the virtual memory
  system for configuring machine-dependent memory attributes: ...").  In
  r195649, the "vm_cache_mode_t/vm_memattr_t" parameter was removed from
  vm_phys_alloc_contig().
  
  Approved by:	re (kensmith)

Modified:
  head/sys/sun4v/sun4v/pmap.c

Modified: head/sys/sun4v/sun4v/pmap.c
==============================================================================
--- head/sys/sun4v/sun4v/pmap.c	Mon Jul 13 18:01:49 2009	(r195659)
+++ head/sys/sun4v/sun4v/pmap.c	Mon Jul 13 18:11:59 2009	(r195660)
@@ -1297,8 +1297,7 @@ pmap_alloc_zeroed_contig_pages(int npage
 	while (m == NULL) {	
 		for (i = 0; phys_avail[i + 1] != 0; i += 2) {
 			m = vm_phys_alloc_contig(npages, phys_avail[i], 
-			    phys_avail[i + 1], alignment, (1UL<<34),
-			    VM_CACHE_DEFAULT);
+			    phys_avail[i + 1], alignment, (1UL<<34));
 			if (m)
 				goto found;
 		}



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