Subject: PR/31870 CVS commit: [netbsd-2-0] src/sys/uvm
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jeff Rizzo <riz@netbsd.org>
List: netbsd-bugs
Date: 11/06/2005 00:25:04
The following reply was made to PR kern/31870; it has been noted by GNATS.

From: Jeff Rizzo <riz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31870 CVS commit: [netbsd-2-0] src/sys/uvm
Date: Sun,  6 Nov 2005 00:24:19 +0000 (UTC)

 Module Name:	src
 Committed By:	riz
 Date:		Sun Nov  6 00:24:19 UTC 2005
 
 Modified Files:
 	src/sys/uvm [netbsd-2-0]: uvm_glue.c
 
 Log Message:
 Pull up following revision(s) (requested by bouyer in ticket #5965):
 	sys/uvm/uvm_glue.c: revision 1.90
 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.78 -r1.78.2.1 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.