]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man7/sched.7
standards.7: Add some more standards
[thirdparty/man-pages.git] / man7 / sched.7
index 9413715bc50a8a53c9ba93847957ffe786758113..6285b31794c630572337603a65b857779c0a880a 100644 (file)
@@ -29,7 +29,7 @@
 .\"
 .\" Worth looking at: http://rt.wiki.kernel.org/index.php
 .\"
-.TH SCHED 7 2018-02-02 "Linux" "Linux Programmer's Manual"
+.TH SCHED 7 2019-08-02 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sched \- overview of CPU scheduling
 .SH DESCRIPTION
@@ -149,7 +149,7 @@ ordering only within the list of runnable threads with equal static
 priority.
 .SS SCHED_FIFO: First in-first out scheduling
 \fBSCHED_FIFO\fP can be used only with static priorities higher than
-0, which means that when a \fBSCHED_FIFO\fP threads becomes runnable,
+0, which means that when a \fBSCHED_FIFO\fP thread becomes runnable,
 it will always immediately preempt any currently running
 \fBSCHED_OTHER\fP, \fBSCHED_BATCH\fP, or \fBSCHED_IDLE\fP thread.
 \fBSCHED_FIFO\fP is a simple scheduling
@@ -406,6 +406,11 @@ The dynamic priority is based on the nice value (see below)
 and is increased for each time quantum the thread is ready to run,
 but denied to run by the scheduler.
 This ensures fair progress among all \fBSCHED_OTHER\fP threads.
+.PP
+In the Linux kernel source code, the
+.B SCHED_OTHER
+policy is actually named
+.BR SCHED_NORMAL .
 .\"
 .SS The nice value
 The nice value is an attribute
@@ -675,7 +680,7 @@ can be used by all real-time and deadline scheduled processes
 on the system.
 The value in this file can range from \-1 to
 .BR INT_MAX \-1.
-Specifying \-1 makes the runtime the same as the period;
+Specifying \-1 makes the run time the same as the period;
 that is, no CPU time is set aside for non-real-time processes
 (which was the Linux behavior before kernel 2.6.25).
 The default value in this file is 950,000 (0.95 seconds),
@@ -961,8 +966,12 @@ was not possible up to kernel version 2.6.17.
 .SH SEE ALSO
 .ad l
 .nh
+.BR chcpu (1),
 .BR chrt (1),
+.BR lscpu (1),
+.BR ps (1),
 .BR taskset (1),
+.BR top (1),
 .BR getpriority (2),
 .BR mlock (2),
 .BR mlockall (2),
@@ -981,6 +990,7 @@ was not possible up to kernel version 2.6.17.
 .BR sched_yield (2),
 .BR setpriority (2),
 .BR pthread_getaffinity_np (3),
+.BR pthread_getschedparam (3),
 .BR pthread_setaffinity_np (3),
 .BR sched_getcpu (3),
 .BR capabilities (7),
@@ -988,7 +998,7 @@ was not possible up to kernel version 2.6.17.
 .ad
 .PP
 .I Programming for the real world \- POSIX.4
-by Bill O. Gallmeister, O'Reilly & Associates, Inc., ISBN 1-56592-074-0.
+by Bill O.\& Gallmeister, O'Reilly & Associates, Inc., ISBN 1-56592-074-0.
 .PP
 The Linux kernel source files
 .IR Documentation/scheduler/sched-deadline.txt ,