Subject: CVS commit: src/sys/arch/powerpc/oea
To: None <source-changes@NetBSD.org>
From: Aymeric Vincent <aymeric@netbsd.org>
List: source-changes
Date: 03/21/2004 10:34:56
Module Name:	src
Committed By:	aymeric
Date:		Sun Mar 21 10:34:56 UTC 2004

Modified Files:
	src/sys/arch/powerpc/oea: pmap.c

Log Message:
pmap_pinit(): improve the hash function in the case of collisions, the
previous version would easily make the low order bits oscillate between 0
and some other value.

Together with the previous change, this should make those
pmap_pinit: out of segments
panics even less likely.

We should really attempt a systematic search before panic()ing at the end.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/arch/powerpc/oea/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.