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/sparc/sparc pull up 1.143 -> 1.144:



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

description:
pull up 1.143 -> 1.144:
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/sparc/sparc/machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 31dd8c2ddf0c -r 096f36dd113b sys/arch/sparc/sparc/machdep.c
--- a/sys/arch/sparc/sparc/machdep.c    Fri Apr 16 16:23:25 1999 +0000
+++ b/sys/arch/sparc/sparc/machdep.c    Fri Apr 16 16:23:50 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.143 1999/04/01 00:17:49 thorpej Exp $ */
+/*     $NetBSD: machdep.c,v 1.143.2.1 1999/04/16 16:23:50 chs Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -274,7 +274,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 RAM for buffer cache");



Home | Main Index | Thread Index | Old Index