[XS] Change in libosmocore[master]: vty: cpu-sched: enlarge RR priority range
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/43683?usp=email ) Change subject: vty: cpu-sched: enlarge RR priority range ...................................................................... vty: cpu-sched: enlarge RR priority range As per `man 7 sched`, "POSIX.1 requires an implementation to support only a minimum 32 distinct priority levels for the real-time policies, and some systems supply just this minimum". However, the full value range is 1 (low) to 99 (high) and Linux does support values up to 99. Let's allow the user to specify values higher than 32. Change-Id: Ie362d69287096382738aa46a4a8c69509c20cea2 --- M src/vty/cpu_sched_vty.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve osmith: Looks good to me, approved diff --git a/src/vty/cpu_sched_vty.c b/src/vty/cpu_sched_vty.c index a712860..0dc453f 100644 --- a/src/vty/cpu_sched_vty.c +++ b/src/vty/cpu_sched_vty.c @@ -486,7 +486,7 @@ } DEFUN_ATTR(cfg_sched_policy, cfg_sched_policy_cmd, - "policy rr <1-32>", + "policy rr <1-99>", "Set the scheduling policy to use for the process\n" "Use the SCHED_RR real-time scheduling algorithm\n" "Set the SCHED_RR real-time priority\n", -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/43683?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ie362d69287096382738aa46a4a8c69509c20cea2 Gerrit-Change-Number: 43683 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
fixeria