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/alpha/alpha pull up 1.90 -> 1.91:
details: https://anonhg.NetBSD.org/src/rev/56f211f4cba7
branches: netbsd-1-4
changeset: 468257:56f211f4cba7
user: chs <chs%NetBSD.org@localhost>
date: Fri Apr 16 16:14:14 1999 +0000
description:
pull up 1.90 -> 1.91:
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/alpha/alpha/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ced243e875fd -r 56f211f4cba7 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c Fri Apr 16 16:13:49 1999 +0000
+++ b/sys/arch/alpha/alpha/pmap.c Fri Apr 16 16:14:14 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.88.2.1 1999/04/09 00:40:13 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.88.2.2 1999/04/16 16:14:14 chs Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -155,7 +155,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.88.2.1 1999/04/09 00:40:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.88.2.2 1999/04/16 16:14:14 chs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -3292,7 +3292,7 @@
try = 0; /* try a few times, but give up eventually */
do {
- pg = uvm_pagealloc(NULL, 0, NULL);
+ pg = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
if (pg != NULL) {
pa = VM_PAGE_TO_PHYS(pg);
pmap_zero_page(pa);
Home |
Main Index |
Thread Index |
Old Index