Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Since someone (hi ahoka) added a reference to non-existant s...



details:   https://anonhg.NetBSD.org/src/rev/ef7abd3fe1ea
branches:  trunk
changeset: 752770:ef7abd3fe1ea
user:      dsieger <dsieger%NetBSD.org@localhost>
date:      Sat Mar 06 16:42:55 2010 +0000

description:
Since someone (hi ahoka) added a reference to non-existant sched_m2(9),
add at least a stub now.

diffstat:

 distrib/sets/lists/comp/mi  |   5 ++-
 share/man/man9/Makefile     |   4 +-
 share/man/man9/sched_4bsd.9 |   3 +-
 share/man/man9/sched_m2.9   |  62 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 70 insertions(+), 4 deletions(-)

diffs (134 lines):

diff -r c8fe75f0bd90 -r ef7abd3fe1ea distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Sat Mar 06 11:31:40 2010 +0000
+++ b/distrib/sets/lists/comp/mi        Sat Mar 06 16:42:55 2010 +0000
@@ -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
diff -r c8fe75f0bd90 -r ef7abd3fe1ea share/man/man9/Makefile
--- a/share/man/man9/Makefile   Sat Mar 06 11:31:40 2010 +0000
+++ b/share/man/man9/Makefile   Sat Mar 06 16:42:55 2010 +0000
@@ -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 \
diff -r c8fe75f0bd90 -r ef7abd3fe1ea share/man/man9/sched_4bsd.9
--- a/share/man/man9/sched_4bsd.9       Sat Mar 06 11:31:40 2010 +0000
+++ b/share/man/man9/sched_4bsd.9       Sat Mar 06 16:42:55 2010 +0000
@@ -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
diff -r c8fe75f0bd90 -r ef7abd3fe1ea share/man/man9/sched_m2.9
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man9/sched_m2.9 Sat Mar 06 16:42:55 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index