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/ofppc/ofppc pull up 1.35 -> 1.36:



details:   https://anonhg.NetBSD.org/src/rev/27c0256d5e66
branches:  netbsd-1-4
changeset: 468272:27c0256d5e66
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:21:48 1999 +0000

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

diffs (18 lines):

diff -r 5e185390e22e -r 27c0256d5e66 sys/arch/ofppc/ofppc/machdep.c
--- a/sys/arch/ofppc/ofppc/machdep.c    Fri Apr 16 16:21:11 1999 +0000
+++ b/sys/arch/ofppc/ofppc/machdep.c    Fri Apr 16 16:21:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.35 1999/04/01 00:17:48 thorpej Exp $     */
+/*     $NetBSD: machdep.c,v 1.35.2.1 1999/04/16 16:21:48 chs Exp $     */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -429,7 +429,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("startup: not enough memory for "
                                        "buffer cache");



Home | Main Index | Thread Index | Old Index