Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 10/19/2003 17:45:35
Module Name:	src
Committed By:	cl
Date:		Sun Oct 19 17:45:35 UTC 2003

Modified Files:
	src/sys/arch/alpha/alpha: machdep.c
	src/sys/arch/amd64/amd64: fpu.c
	src/sys/arch/i386/isa: npx.c
	src/sys/arch/pc532/pc532: vm_machdep.c
	src/sys/uvm: uvm_glue.c

Log Message:
don't uvm_swapout LWPs which are LSONPROC on another cpu.

uvm_swapout_threads will swapout LWPs which are running on another CPU:
- uvm_swapout_threads considers LWPs running on another CPU for swapout
  if their l_swtime is high
- uvm_swapout_threads considers LWPs on the runqueue for swapout if their
  l_swtime is high but these LWPs might be running by the time uvm_swapout
  is called

symptoms of failure: panic in setrunqueue

fixes PR kern/23095


To generate a diff of this commit:
cvs rdiff -r1.276 -r1.277 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/amd64/amd64/fpu.c
cvs rdiff -r1.97 -r1.98 src/sys/arch/i386/isa/npx.c
cvs rdiff -r1.57 -r1.58 src/sys/arch/pc532/pc532/vm_machdep.c
cvs rdiff -r1.67 -r1.68 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.