]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sched/deadline: Clarify nanoseconds in uapi
authorChristian Loehle <christian.loehle@arm.com>
Tue, 13 Aug 2024 14:43:46 +0000 (15:43 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 11 Sep 2024 09:23:56 +0000 (11:23 +0200)
Specify the time values of the deadline parameters of deadline,
runtime, and period as being in nanoseconds explicitly as they always
have been.

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Juri Lelli <juri.lelli@redhat.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20240813144348.1180344-3-christian.loehle@arm.com
include/uapi/linux/sched/types.h

index 90662385689bb38eb1486376f1cfdb96e948c7ed..bf6e9ae031c11318c27d6d6414656562564b0096 100644 (file)
@@ -58,9 +58,9 @@
  *
  * This is reflected by the following fields of the sched_attr structure:
  *
- *  @sched_deadline    representative of the task's deadline
- *  @sched_runtime     representative of the task's runtime
- *  @sched_period      representative of the task's period
+ *  @sched_deadline    representative of the task's deadline in nanoseconds
+ *  @sched_runtime     representative of the task's runtime in nanoseconds
+ *  @sched_period      representative of the task's period in nanoseconds
  *
  * Given this task model, there are a multiplicity of scheduling algorithms
  * and policies, that can be used to ensure all the tasks will make their