Skip to content

Commit 6ebf2d0

Browse files
cloehlePeter Zijlstra
authored andcommitted
sched/deadline: Clarify nanoseconds in uapi
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Juri Lelli <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8bee4ca commit 6ebf2d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/uapi/linux/sched/types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
*
5959
* This is reflected by the following fields of the sched_attr structure:
6060
*
61-
* @sched_deadline representative of the task's deadline
62-
* @sched_runtime representative of the task's runtime
63-
* @sched_period representative of the task's period
61+
* @sched_deadline representative of the task's deadline in nanoseconds
62+
* @sched_runtime representative of the task's runtime in nanoseconds
63+
* @sched_period representative of the task's period in nanoseconds
6464
*
6565
* Given this task model, there are a multiplicity of scheduling algorithms
6666
* and policies, that can be used to ensure all the tasks will make their

0 commit comments

Comments
 (0)