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/i386/i386 pull up 1.349 -> 1.350:



details:   https://anonhg.NetBSD.org/src/rev/5f358b7c6ca6
branches:  netbsd-1-4
changeset: 468264:5f358b7c6ca6
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:17:27 1999 +0000

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

diffs (18 lines):

diff -r c095b7091b16 -r 5f358b7c6ca6 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c      Fri Apr 16 16:16:58 1999 +0000
+++ b/sys/arch/i386/i386/machdep.c      Fri Apr 16 16:17:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.349 1999/04/01 00:37:50 thorpej Exp $    */
+/*     $NetBSD: machdep.c,v 1.349.2.1 1999/04/16 16:17:27 chs Exp $    */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -592,7 +592,7 @@
                         * 16M of RAM to avoid bouncing file system
                         * transfers.
                         */
-                       pg = uvm_pagealloc_strat(NULL, 0, NULL,
+                       pg = uvm_pagealloc_strat(NULL, 0, NULL, 0,
                            UVM_PGA_STRAT_FALLBACK, VM_FREELIST_FIRST16);
                        if (pg == NULL)
                                panic("cpu_startup: not enough memory for "



Home | Main Index | Thread Index | Old Index