Subject: CVS commit: src/sys/uvm
To: None <>
From: Chuck Silvers <>
List: source-changes
Date: 10/24/2005 00:26:37
Module Name:	src
Committed By:	chs
Date:		Mon Oct 24 00:26:37 UTC 2005

Modified Files:
	src/sys/uvm: uvm_glue.c

Log Message:
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.89 -r1.90 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.