Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
List: source-changes
Date: 11/04/2007 12:36:01
Module Name:	src
Committed By:	rmind
Date:		Sun Nov  4 12:36:01 UTC 2007

Modified Files:
	src/sys/kern: sched_m2.c

Log Message:
- sched_setup: use ilog2() for min_catch, which fixes the case when count
  of CPU is non-power of 2.  Fixes PR/37244.
- sched_enqueue: initialize sl_lrtime, when it is zero (new thread).
  Part of PR/37245.
- Fix the mints/maxts sysctl helpers, use mstohz() for the checks.  Also,
  I meant miliseconds, not microseconds.  Found by <bjs>.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/kern/sched_m2.c

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