Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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

authored by

Christian Loehle and committed by
Peter Zijlstra
6ebf2d02 8bee4ca5

+3 -3
+3 -3
include/uapi/linux/sched/types.h
··· 58 58 * 59 59 * This is reflected by the following fields of the sched_attr structure: 60 60 * 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 64 64 * 65 65 * Given this task model, there are a multiplicity of scheduling algorithms 66 66 * and policies, that can be used to ensure all the tasks will make their