Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm allow uvm_km_alloc_poolpage1() to use kernel-reserve...



details:   https://anonhg.NetBSD.org/src/rev/350e37e66c5c
branches:  trunk
changeset: 474747:350e37e66c5c
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Jul 18 22:55:30 1999 +0000

description:
allow uvm_km_alloc_poolpage1() to use kernel-reserve pages.

diffstat:

 sys/uvm/uvm_km.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r dabad6da1f8b -r 350e37e66c5c sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c  Sun Jul 18 21:33:20 1999 +0000
+++ b/sys/uvm/uvm_km.c  Sun Jul 18 22:55:30 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_km.c,v 1.28 1999/07/17 06:41:36 thorpej Exp $      */
+/*     $NetBSD: uvm_km.c,v 1.29 1999/07/18 22:55:30 chs Exp $  */
 
 /* 
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -880,7 +880,7 @@
        vaddr_t va;
 
  again:
-       pg = uvm_pagealloc(NULL, 0, NULL, 0);
+       pg = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
        if (pg == NULL) {
                if (waitok) {
                        uvm_wait("plpg");



Home | Main Index | Thread Index | Old Index