Subject: CVS commit: src/sys/arch/i386/i386
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 12/10/2003 13:59:49
Module Name:	src
Committed By:	drochner
Date:		Wed Dec 10 13:59:49 UTC 2003

Modified Files:
	src/sys/arch/i386/i386: pmap.c

Log Message:
Just checking a global marker (pm_hiexec) for the highest executable
address currently in effect does not always work: There might be more
instances of the code segment selector in other threads, on other CPUs
and in *jmp_bufs.
So always check whether the CS needs updating, if it is not already
set to the "BIG" value.
This code needs more cleanup, this is considered a stopgap fix only.


To generate a diff of this commit:
cvs rdiff -r1.164 -r1.165 src/sys/arch/i386/i386/pmap.c

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