Subject: CVS commit: [netbsd-3] src/sys/uvm
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 10/28/2005 19:49:22
Module Name:	src
Committed By:	jmc
Date:		Fri Oct 28 19:49:22 UTC 2005

Modified Files:
	src/sys/uvm [netbsd-3]: uvm_glue.c

Log Message:
Pullup rev 1.90 (requested by chs in ticket #914)
 Remove the assertion in uvm_swapout_threads() about LSONPROC lwps
 not running on the same CPU as the swapper. l_stat is protected by
 sched_lock, which isn't held here, so we can race with that lwp
 starting to run and see its l_cpu not updated yet, as in PR 31870.
 we check l_stat again in uvm_swapout() while holding sched_lock,
 so the race itself is harmless.


To generate a diff of this commit:
cvs rdiff -r1.83.4.1 -r1.83.4.2 src/sys/uvm/uvm_glue.c

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