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/arm32/arm32 pull up 1.59 -> 1.60:



details:   https://anonhg.NetBSD.org/src/rev/a18cac281e70
branches:  netbsd-1-4
changeset: 468260:a18cac281e70
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:15:32 1999 +0000

description:
pull up 1.59 -> 1.60:
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/arm32/arm32/pmap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d4fcc8619dbe -r a18cac281e70 sys/arch/arm32/arm32/pmap.c
--- a/sys/arch/arm32/arm32/pmap.c       Fri Apr 16 16:15:04 1999 +0000
+++ b/sys/arch/arm32/arm32/pmap.c       Fri Apr 16 16:15:32 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.59 1999/03/30 20:59:52 mycroft Exp $        */
+/*     $NetBSD: pmap.c,v 1.59.2.1 1999/04/16 16:15:32 chs Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -2062,7 +2062,7 @@
        
                /* Allocate a page table */
                for (;;) {
-                       m = uvm_pagealloc(NULL, 0, NULL);
+                       m = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
                        if (m != NULL)
                                break;
                        



Home | Main Index | Thread Index | Old Index