Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/alpha/alpha Pull up rev. 1.147:
details: https://anonhg.NetBSD.org/src/rev/aed0b5ba7c57
branches: netbsd-1-5
changeset: 489472:aed0b5ba7c57
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Sep 19 17:40:46 2000 +0000
description:
Pull up rev. 1.147:
In pmap_ptpage_steal(), don't traverse into the kernel portion
of the address space.
Addresses the Alpha port part of port-alpha/11034.
diffstat:
sys/arch/alpha/alpha/pmap.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r a5cad70ea96f -r aed0b5ba7c57 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c Tue Sep 19 17:33:19 2000 +0000
+++ b/sys/arch/alpha/alpha/pmap.c Tue Sep 19 17:40:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.135 2000/06/05 21:47:15 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.135.2.1 2000/09/19 17:40:46 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -154,7 +154,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.135 2000/06/05 21:47:15 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.135.2.1 2000/09/19 17:40:46 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -3520,7 +3520,8 @@
* Have a candidate pmap. Loop through the PT pages looking
* for one we can steal.
*/
- for (l1idx = 0; l1idx < NPTEPG; l1idx++) {
+ for (l1idx = 0;
+ l1idx < l1pte_index(VM_MAXUSER_ADDRESS); l1idx++) {
if (pmap_pte_v(&spmap->pm_lev1map[l1idx]) == 0)
continue;
Home |
Main Index |
Thread Index |
Old Index