Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/pmax/pmax pull up 1.134 -> 1.135:



details:   https://anonhg.NetBSD.org/src/rev/ddf5bf506904
branches:  netbsd-1-4
changeset: 468275:ddf5bf506904
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:23:02 1999 +0000

description:
pull up 1.134 -> 1.135:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

diffstat:

 sys/arch/pmax/pmax/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c3ce6bde27ee -r ddf5bf506904 sys/arch/pmax/pmax/machdep.c
--- a/sys/arch/pmax/pmax/machdep.c      Fri Apr 16 16:22:38 1999 +0000
+++ b/sys/arch/pmax/pmax/machdep.c      Fri Apr 16 16:23:02 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.134 1999/04/01 00:17:49 thorpej Exp $    */
+/*     $NetBSD: machdep.c,v 1.134.2.1 1999/04/16 16:23:02 chs Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.134 1999/04/01 00:17:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.134.2.1 1999/04/16 16:23:02 chs Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -566,7 +566,7 @@
                curbufsize = CLBYTES * ((i < residual) ? (base+1) : base);
 
                while (curbufsize) {
-                       pg = uvm_pagealloc(NULL, 0, NULL);
+                       pg = uvm_pagealloc(NULL, 0, NULL, 0);
                        if (pg == NULL)
                                panic("cpu_startup: not enough memory for "
                                    "buffer cache");



Home | Main Index | Thread Index | Old Index