Subject: PR/37245 CVS commit: src/sys/kern
To: None <rmind@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
List: netbsd-bugs
Date: 11/04/2007 12:35:02
The following reply was made to PR kern/37245; it has been noted by GNATS.

From: Mindaugas Rasiukevicius <rmind@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/37245 CVS commit: src/sys/kern
Date: Sun,  4 Nov 2007 12:36:02 +0000 (UTC)

 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.