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/mips/mips pull up 1.55 -> 1.56:



details:   https://anonhg.NetBSD.org/src/rev/c7889a965f47
branches:  netbsd-1-4
changeset: 468268:c7889a965f47
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:19:54 1999 +0000

description:
pull up 1.55 -> 1.56:
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/mips/mips/pmap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 7483a8124c93 -r c7889a965f47 sys/arch/mips/mips/pmap.c
--- a/sys/arch/mips/mips/pmap.c Fri Apr 16 16:19:28 1999 +0000
+++ b/sys/arch/mips/mips/pmap.c Fri Apr 16 16:19:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.55 1999/03/26 23:41:31 mycroft Exp $        */
+/*     $NetBSD: pmap.c,v 1.55.2.1 1999/04/16 16:19:54 chs Exp $        */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55 1999/03/26 23:41:31 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55.2.1 1999/04/16 16:19:54 chs Exp $");
 
 /*
  *     Manages physical address maps.
@@ -517,7 +517,7 @@
                vm_page_t mem;
 
                do {
-                       mem = uvm_pagealloc(NULL, 0, NULL);
+                       mem = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
                        if (mem == NULL) {
                                /*
                                 * XXX What else can we do?  Could we
@@ -1246,7 +1246,7 @@
 
        if (!(pte = pmap_segmap(pmap, va))) {
                do {
-                       mem = uvm_pagealloc(NULL, 0, NULL);
+                       mem = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
                        if (mem == NULL) {
                                /*
                                 * XXX What else can we do?  Could we



Home | Main Index | Thread Index | Old Index