Subject: CVS commit: [newlock2] src/sys/arch
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 01/19/2007 19:35:22
Module Name:	src
Committed By:	ad
Date:		Fri Jan 19 19:35:22 UTC 2007

Modified Files:
	src/sys/arch/amd64/amd64 [newlock2]: locore.S vm_machdep.c
	src/sys/arch/i386/i386 [newlock2]: locore.S

Log Message:
- cpu_exit(): move 'cli' behind clearing curlwp to close a race with
  lwp_free(). Noted by yamt@.
- Don't bother calling lwp_exit2() any more.


To generate a diff of this commit:
cvs rdiff -r1.18.8.5 -r1.18.8.6 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -r1.15.2.1 -r1.15.2.2 src/sys/arch/amd64/amd64/vm_machdep.c
cvs rdiff -r1.43.4.5 -r1.43.4.6 src/sys/arch/i386/i386/locore.S

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