Module Name: src Committed By: dsieger Date: Sat Mar 6 16:42:56 UTC 2010
Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile sched_4bsd.9 Added Files: src/share/man/man9: sched_m2.9 Log Message: Since someone (hi ahoka) added a reference to non-existant sched_m2(9), add at least a stub now. To generate a diff of this commit: cvs rdiff -u -r1.1402 -r1.1403 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.319 -r1.320 src/share/man/man9/Makefile cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/sched_4bsd.9 cvs rdiff -u -r0 -r1.1 src/share/man/man9/sched_m2.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.1402 src/distrib/sets/lists/comp/mi:1.1403 --- src/distrib/sets/lists/comp/mi:1.1402 Thu Mar 4 08:13:29 2010 +++ src/distrib/sets/lists/comp/mi Sat Mar 6 16:42:55 2010 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1402 2010/03/04 08:13:29 jruoho Exp $ +# $NetBSD: mi,v 1.1403 2010/03/06 16:42:55 dsieger Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -9397,6 +9397,7 @@ ./usr/share/man/cat9/rw_write_held.0 comp-sys-catman .cat ./usr/share/man/cat9/rwlock.0 comp-sys-catman .cat ./usr/share/man/cat9/sched_4bsd.0 comp-sys-catman .cat +./usr/share/man/cat9/sched_m2.0 comp-sys-catman .cat ./usr/share/man/cat9/sched_lock_idle.0 comp-obsolete obsolete ./usr/share/man/cat9/sched_psignal.0 comp-sys-catman .cat ./usr/share/man/cat9/sched_unlock_idle.0 comp-obsolete obsolete @@ -15024,6 +15025,7 @@ ./usr/share/man/html9/rw_write_held.html comp-sys-htmlman html ./usr/share/man/html9/rwlock.html comp-sys-htmlman html ./usr/share/man/html9/sched_4bsd.html comp-sys-htmlman html +./usr/share/man/html9/sched_m2.html comp-sys-htmlman html ./usr/share/man/html9/sched_psignal.html comp-sys-htmlman html ./usr/share/man/html9/scsipi.html comp-sys-htmlman html ./usr/share/man/html9/secmodel.html comp-sys-htmlman html @@ -20842,6 +20844,7 @@ ./usr/share/man/man9/rw_write_held.9 comp-sys-man .man ./usr/share/man/man9/rwlock.9 comp-sys-man .man ./usr/share/man/man9/sched_4bsd.9 comp-sys-man .man +./usr/share/man/man9/sched_m2.9 comp-sys-man .man ./usr/share/man/man9/sched_lock_idle.9 comp-obsolete obsolete ./usr/share/man/man9/sched_psignal.9 comp-sys-man .man ./usr/share/man/man9/sched_unlock_idle.9 comp-obsolete obsolete Index: src/share/man/man9/Makefile diff -u src/share/man/man9/Makefile:1.319 src/share/man/man9/Makefile:1.320 --- src/share/man/man9/Makefile:1.319 Thu Mar 4 08:09:51 2010 +++ src/share/man/man9/Makefile Sat Mar 6 16:42:56 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.319 2010/03/04 08:09:51 jruoho Exp $ +# $NetBSD: Makefile,v 1.320 2010/03/06 16:42:56 dsieger Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -43,7 +43,7 @@ preempt.9 putter.9 \ radio.9 ras.9 rasops.9 ratecheck.9 resettodr.9 rnd.9 roundup.9 \ rssadapt.9 rt_timer.9 rwlock.9 RUN_ONCE.9 \ - sched_4bsd.9 scsipi.9 \ + sched_4bsd.9 sched_m2.9 scsipi.9 \ secmodel.9 secmodel_bsd44.9 secmodel_overlay.9 secmodel_securelevel.9 \ secmodel_suser.9 setbit.9 setjmp.9 shutdownhook_establish.9 \ signal.9 sockopt.9 softintr.9 spl.9 splraiseipl.9 \ Index: src/share/man/man9/sched_4bsd.9 diff -u src/share/man/man9/sched_4bsd.9:1.4 src/share/man/man9/sched_4bsd.9:1.5 --- src/share/man/man9/sched_4bsd.9:1.4 Fri Mar 5 23:08:18 2010 +++ src/share/man/man9/sched_4bsd.9 Sat Mar 6 16:42:56 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: sched_4bsd.9,v 1.4 2010/03/05 23:08:18 dsieger Exp $ +.\" $NetBSD: sched_4bsd.9,v 1.5 2010/03/06 16:42:56 dsieger Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -87,6 +87,7 @@ .Pa sys/kern/sched_4bsd.c . .Sh SEE ALSO .Xr csf 9 , +.Xr sched_m2 , .Xr hardclock 9 , .Xr mi_switch 9 , .Xr userret 9 Added files: Index: src/share/man/man9/sched_m2.9 diff -u /dev/null src/share/man/man9/sched_m2.9:1.1 --- /dev/null Sat Mar 6 16:42:56 2010 +++ src/share/man/man9/sched_m2.9 Sat Mar 6 16:42:56 2010 @@ -0,0 +1,62 @@ +.\" $NetBSD: sched_m2.9,v 1.1 2010/03/06 16:42:56 dsieger Exp $ +.\" +.\" Copyright (c) 2010 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Daniel Sieger. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd March 5, 2010 +.Dt SCHED_M2 9 +.Os +.Sh NAME +.Nm sched_m2 +.Nd The M2 thread scheduler +.Sh SYNOPSIS +.In sys/sched.h +.Sh DESCRIPTION +The M2 scheduler implements a scheduling algortithm similar to +the scheduler implementaions of UNIX System V Release 4 and Solaris. +.Sh CODE REFERENCES +This section describes places within the +.Nx +source tree where actual code implementing the scheduler can be found. +All pathnames are relative to +.Pa /usr/src . +.Pp +The M2 scheduler is implemented within the file +.Pa sys/kern/sched_m2.c . +.Sh SEE ALSO +.Xr csf 9 , +.Xr sched_4bsd 9 , +.Xr hardclock 9 , +.Xr mi_switch 9 , +.Xr userret 9 +.Rs +.%A Berny Goodheart +.%A James Cox +.%B "The Magic Garden Explained: The Internals of UNIX System V Release 4" +.%I "Prentice Hall" +.%D 1994 +.Re