Subject: CVS commit: [netbsd-4] src/sys/uvm
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 10/12/2007 22:36:07
Module Name:	src
Committed By:	riz
Date:		Fri Oct 12 22:36:07 UTC 2007

Modified Files:
	src/sys/uvm [netbsd-4]: uvm_meter.c

Log Message:
Pull up following revision(s) (requested by ad in ticket #929):
	sys/uvm/uvm_meter.c: revision 1.45 (via patch)
Fix load average calculation:
- Don't consider kernel threads when calculating the load average. Their
  priorities are no longer adjusted by the scheduler, and their level of
  activity is dependent upon running user processes.
- Change the (l->l_priority > PZERO) check in uvm_meter() to (l->l_flag &
  L_SINTR). I think this check was originally intended to weed out
  processes sleeping interruptably.


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.43.2.1 src/sys/uvm/uvm_meter.c

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