Add instructions on how to determine the scheduler in use.
This commit is contained in:
parent
fd06dbe7af
commit
75e05bff3f
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: sched_4bsd.9,v 1.8 2010/12/02 12:54:13 wiz Exp $
|
||||
.\" $NetBSD: sched_4bsd.9,v 1.9 2019/04/09 13:53:52 sevan Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -27,7 +27,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd July 14, 2007
|
||||
.Dd April 9, 2019
|
||||
.Dt SCHED_4BSD 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -78,6 +78,12 @@ every Hz ticks in order to recompute the priorities of all threads.
|
|||
checks if an LWP has slept for more than one second.
|
||||
If so, its priority is updated by
|
||||
.Fn updatepri .
|
||||
.Sh EXAMPLES
|
||||
To determine the scheduler currently in use
|
||||
.Bd -literal -offset indent
|
||||
$ sysctl kern.sched.name
|
||||
kern.sched.name = 4.4BSD
|
||||
.Ed
|
||||
.Sh CODE REFERENCES
|
||||
The
|
||||
.Bx 4.4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: sched_m2.9,v 1.3 2010/12/02 12:54:13 wiz Exp $
|
||||
.\" $NetBSD: sched_m2.9,v 1.4 2019/04/09 13:53:52 sevan Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -27,7 +27,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd March 5, 2010
|
||||
.Dd April 9, 2019
|
||||
.Dt SCHED_M2 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -38,6 +38,12 @@
|
|||
.Sh DESCRIPTION
|
||||
The M2 scheduler implements a scheduling algorithm similar to
|
||||
the scheduler implementations of UNIX System V Release 4 and Solaris.
|
||||
.Sh EXAMPLES
|
||||
To determine the scheduler currently in use
|
||||
.Bd -literal -offset indent
|
||||
$ sysctl kern.sched.name
|
||||
kern.sched.name = M2
|
||||
.Ed
|
||||
.Sh CODE REFERENCES
|
||||
The M2 scheduler is implemented within the file
|
||||
.Pa sys/kern/sched_m2.c .
|
||||
|
|
Loading…
Reference in New Issue