Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Back-out vmapbuf() change for now as loca...
details: https://anonhg.NetBSD.org/src/rev/f075e8948935
branches: trunk
changeset: 495357:f075e8948935
user: jeffs <jeffs%NetBSD.org@localhost>
date: Wed Jul 26 16:24:38 2000 +0000
description:
Back-out vmapbuf() change for now as locally it has been found to sleep
in some circumstances that don't sleep when not using pmap_prefer().
diffstat:
sys/arch/mips/mips/vm_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1a03a76f109c -r f075e8948935 sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c Wed Jul 26 15:42:09 2000 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c Wed Jul 26 16:24:38 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.68 2000/07/24 20:16:29 jeffs Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.69 2000/07/26 16:24:38 jeffs Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.68 2000/07/24 20:16:29 jeffs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.69 2000/07/26 16:24:38 jeffs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -299,7 +299,7 @@
faddr = trunc_page((vaddr_t)bp->b_saveaddr = bp->b_data);
off = (vaddr_t)bp->b_data - faddr;
len = round_page(off + len);
- taddr = uvm_km_valloc_prefer_wait(phys_map, len, (vaddr_t)bp->b_data);
+ taddr = uvm_km_valloc_wait(phys_map, len);
bp->b_data = (caddr_t)(taddr + off);
len = atop(len);
while (len--) {
Home |
Main Index |
Thread Index |
Old Index