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/powerpc/powerpc pull up 1.19 -> 1.20:
details: https://anonhg.NetBSD.org/src/rev/31dd8c2ddf0c
branches: netbsd-1-4
changeset: 468276:31dd8c2ddf0c
user: chs <chs%NetBSD.org@localhost>
date: Fri Apr 16 16:23:25 1999 +0000
description:
pull up 1.19 -> 1.20:
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/powerpc/powerpc/pmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ddf5bf506904 -r 31dd8c2ddf0c sys/arch/powerpc/powerpc/pmap.c
--- a/sys/arch/powerpc/powerpc/pmap.c Fri Apr 16 16:23:02 1999 +0000
+++ b/sys/arch/powerpc/powerpc/pmap.c Fri Apr 16 16:23:25 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.19 1999/03/26 23:41:34 mycroft Exp $ */
+/* $NetBSD: pmap.c,v 1.19.2.1 1999/04/16 16:23:25 chs Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -823,7 +823,7 @@
* Since we cannot use maps for potable allocation,
* we have to steal some memory from the VM system. XXX
*/
- mem = uvm_pagealloc(NULL, 0, NULL);
+ mem = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
po_pcnt++;
pop = (struct po_page *)VM_PAGE_TO_PHYS(mem);
pop->pop_pgi.pgi_page = mem;
Home |
Main Index |
Thread Index |
Old Index