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/vax/vax pull up 1.76 -> 1.77:



details:   https://anonhg.NetBSD.org/src/rev/77e3153871ba
branches:  netbsd-1-4
changeset: 468282:77e3153871ba
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:26:01 1999 +0000

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

diffs (18 lines):

diff -r a08143ad6ed2 -r 77e3153871ba sys/arch/vax/vax/machdep.c
--- a/sys/arch/vax/vax/machdep.c        Fri Apr 16 16:25:36 1999 +0000
+++ b/sys/arch/vax/vax/machdep.c        Fri Apr 16 16:26:01 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.76 1999/04/01 00:17:50 thorpej Exp $  */
+/* $NetBSD: machdep.c,v 1.76.2.1 1999/04/16 16:26:01 chs Exp $  */
 
 /*
  * Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
@@ -256,7 +256,7 @@
                curbuf = (vm_offset_t) buffers + i * MAXBSIZE;
                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