summaryrefslogtreecommitdiffstats
path: root/schedutils/chrt.1
diff options
context:
space:
mode:
authorKarel Zak2007-04-11 23:18:08 +0200
committerKarel Zak2007-04-11 23:18:08 +0200
commit09dd84cac7fbc4886fdb92593898ea713f663dfd (patch)
tree2e85782d329074dee1896e1194ba25330d7f66ce /schedutils/chrt.1
parentcheck exit status of autotools (diff)
downloadkernel-qcow2-util-linux-09dd84cac7fbc4886fdb92593898ea713f663dfd.tar.gz
kernel-qcow2-util-linux-09dd84cac7fbc4886fdb92593898ea713f663dfd.tar.xz
kernel-qcow2-util-linux-09dd84cac7fbc4886fdb92593898ea713f663dfd.zip
schedutils: define SCHED_BATCH when compile with old glibc
This is temporary workaround and it will be removed in 2.14 when minimal number of people will use old systems where is not defined SCHED_BATCH in (bits/)sched.h. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'schedutils/chrt.1')
-rw-r--r--schedutils/chrt.16
1 files changed, 4 insertions, 2 deletions
diff --git a/schedutils/chrt.1 b/schedutils/chrt.1
index 9ffc084b5..f6db1cbe3 100644
--- a/schedutils/chrt.1
+++ b/schedutils/chrt.1
@@ -42,13 +42,15 @@ runs COMMAND with the given attributes. Both policy (one of
or
.BR SCHED_BATCH )
and priority can be set and retrieved.
+.PP
+The
+.BR SCHED_BATCH
+policy is supported since Linux 2.6.16.
.SH OPTIONS
.TP
.B -p, --pid
operate on an existing PID and do not launch a new task
.TP
-
-.TP
.B -b, --batch
set scheduling policy to
.BR SCHED_BATCH