.\"
.\" 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
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
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
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),
.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),
.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),
.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 ,