diff options
author | Nicolas Iooss | 2017-02-04 09:44:41 +0100 |
---|---|---|
committer | Nicolas Iooss | 2017-02-04 09:44:41 +0100 |
commit | d32d22e63f671db121d83481016ba746b9404c2d (patch) | |
tree | 4dd79e7096962c34044601a22629e825d6331571 /0001-chrt-default-to-SCHED_RR-policy.patch | |
parent | 5d798e0dca45854034f49d6202f480e3e47d7a8f (diff) | |
download | aur-d32d22e63f671db121d83481016ba746b9404c2d.tar.gz |
util-linux-selinux 2.29.1-1 update
Diffstat (limited to '0001-chrt-default-to-SCHED_RR-policy.patch')
-rw-r--r-- | 0001-chrt-default-to-SCHED_RR-policy.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/0001-chrt-default-to-SCHED_RR-policy.patch b/0001-chrt-default-to-SCHED_RR-policy.patch deleted file mode 100644 index c4421495503f..000000000000 --- a/0001-chrt-default-to-SCHED_RR-policy.patch +++ /dev/null @@ -1,39 +0,0 @@ -From c7adc2f204f19167f781fa2ee739e0ca386fc4f5 Mon Sep 17 00:00:00 2001 -From: Andreas Henriksson <andreas@fatal.se> -Date: Fri, 2 Dec 2016 15:10:18 +0100 -Subject: [PATCH] chrt: default to SCHED_RR policy - -This fixes a regression introduced in: - -commit 7a4ea5664edba98bff28adec3a9c3cfb5763a495 -"chrt: add control struct" - -Previously (and as documented in the manpage) the default policy -was SCHED_RR. Now it's implicitly SCHED_OTHER (0) as the value -is not initialized explicitly anymore. - -Test-command: chrt 90 echo hello - -Reported-by: Patrick Pelissier <patrick.pelissier@gmail.com> -Addresses: http://bugs.debian.org/846572 -Signed-off-by: Andreas Henriksson <andreas@fatal.se> ---- - schedutils/chrt.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/schedutils/chrt.c b/schedutils/chrt.c -index a861d9f..73d1ffa 100644 ---- a/schedutils/chrt.c -+++ b/schedutils/chrt.c -@@ -409,7 +409,7 @@ static void set_sched(struct chrt_ctl *ctl) - - int main(int argc, char **argv) - { -- struct chrt_ctl _ctl = { .pid = -1 }, *ctl = &_ctl; -+ struct chrt_ctl _ctl = { .pid = -1, .policy = SCHED_RR }, *ctl = &_ctl; - int c; - - static const struct option longopts[] = { --- -2.10.2 - |