Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/uvm pull up 1.18 -> 1.19:



details:   https://anonhg.NetBSD.org/src/rev/6946639cd234
branches:  netbsd-1-4
changeset: 468285:6946639cd234
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:27:13 1999 +0000

description:
pull up 1.18 -> 1.19:
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/uvm/uvm_aobj.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7011c7e1c454 -r 6946639cd234 sys/uvm/uvm_aobj.c
--- a/sys/uvm/uvm_aobj.c        Fri Apr 16 16:26:48 1999 +0000
+++ b/sys/uvm/uvm_aobj.c        Fri Apr 16 16:27:13 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_aobj.c,v 1.18 1999/03/26 17:34:15 chs Exp $        */
+/*     $NetBSD: uvm_aobj.c,v 1.18.2.1 1999/04/16 16:27:13 chs Exp $    */
 
 /*
  * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and
@@ -801,7 +801,7 @@
                        if (ptmp == NULL && uao_find_swslot(aobj,
                            current_offset >> PAGE_SHIFT) == 0) {
                                ptmp = uvm_pagealloc(uobj, current_offset,
-                                   NULL);
+                                   NULL, 0);
                                if (ptmp) {
                                        /* new page */
                                        ptmp->flags &= ~(PG_BUSY|PG_FAKE);
@@ -891,7 +891,7 @@
                        if (ptmp == NULL) {
 
                                ptmp = uvm_pagealloc(uobj, current_offset,
-                                   NULL);      /* alloc */
+                                   NULL, 0);
 
                                /* out of RAM? */
                                if (ptmp == NULL) {



Home | Main Index | Thread Index | Old Index