]> www.infradead.org Git - users/willy/xarray.git/commit
sched/rt/docs: Clarify & fix sched_rt_* sysctl docs
authorCyril Hrubis <chrubis@suse.cz>
Mon, 2 Oct 2023 11:55:52 +0000 (13:55 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 2 Oct 2023 13:17:13 +0000 (15:17 +0200)
commite6dbdd8fb75526b01787050087b65d12c76b3666
tree05f00fdb0bad2aa76352eff253b4ee68606514f9
parent079be8fc630943d9fc70a97807feb73d169ee3fc
sched/rt/docs: Clarify & fix sched_rt_* sysctl docs

- Describe explicitly that sched_rt_runtime_us is allocated from
  sched_rt_period_us and hence always less or equal to that value.

- The limit for sched_rt_runtime_us is not INT_MAX-1, but rather it's
  limited by the value of sched_rt_period_us. If sched_rt_period_us is
  INT_MAX then sched_rt_runtime_us can be set to INT_MAX as well.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231002115553.3007-3-chrubis@suse.cz
Documentation/scheduler/sched-rt-group.rst