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.23 -> 1.24:
details: https://anonhg.NetBSD.org/src/rev/02c2a6e9c113
branches: netbsd-1-4
changeset: 468265:02c2a6e9c113
user: chs <chs%NetBSD.org@localhost>
date: Fri Apr 16 16:18:02 1999 +0000
description:
pull up 1.23 -> 1.24:
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/pmap.new.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 5f358b7c6ca6 -r 02c2a6e9c113 sys/arch/i386/i386/pmap.new.c
--- a/sys/arch/i386/i386/pmap.new.c Fri Apr 16 16:17:27 1999 +0000
+++ b/sys/arch/i386/i386/pmap.new.c Fri Apr 16 16:18:02 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.new.c,v 1.23 1999/03/26 23:41:30 mycroft Exp $ */
+/* $NetBSD: pmap.new.c,v 1.23.2.1 1999/04/16 16:18:02 chs Exp $ */
/*
*
@@ -1163,7 +1163,7 @@
}
pg = uvm_pagealloc(uvmexp.kmem_object, pv_cachedva - vm_map_min(kernel_map),
- NULL);
+ NULL, UVM_PGA_USERESERVE);
if (pg)
pg->flags &= ~PG_BUSY; /* never busy */
@@ -1573,8 +1573,8 @@
{
struct vm_page *ptp;
- ptp = uvm_pagealloc(&pmap->pm_obj, ptp_i2o(pde_index), NULL);
-
+ ptp = uvm_pagealloc(&pmap->pm_obj, ptp_i2o(pde_index), NULL,
+ UVM_PGA_USERESERVE);
if (ptp == NULL) {
if (just_try)
return(NULL);
Home |
Main Index |
Thread Index |
Old Index