Subject: PR/31870 CVS commit: [netbsd-3] src/sys/uvm
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: James Chacon <jmc@netbsd.org>
List: netbsd-bugs
Date: 10/28/2005 19:50:02
The following reply was made to PR kern/31870; it has been noted by GNATS.

From: James Chacon <jmc@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31870 CVS commit: [netbsd-3] src/sys/uvm
Date: Fri, 28 Oct 2005 19:49:22 +0000 (UTC)

 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.