]> Git Repo - linux.git/commit
sched/rt: Change the type of 'sysctl_sched_rt_period' from 'unsigned int' to 'int'
authorYajun Deng <[email protected]>
Sun, 8 Oct 2023 02:15:38 +0000 (10:15 +0800)
committerIngo Molnar <[email protected]>
Mon, 9 Oct 2023 10:44:56 +0000 (12:44 +0200)
commit089768dfeb3ab294f9ab6a1f2462001f0f879fbb
treeef1f71ca63d7a74a1918e12b3476919de446fce0
parentf4bb5705114530cd775a5a649b666755b3efe7aa
sched/rt: Change the type of 'sysctl_sched_rt_period' from 'unsigned int' to 'int'

Doing this matches the natural type of 'int' based calculus
in sched_rt_handler(), and also enables the adding in of a
correct upper bounds check on the sysctl interface.

[ mingo: Rewrote the changelog. ]

Signed-off-by: Yajun Deng <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
kernel/sched/rt.c
kernel/sched/sched.h
This page took 0.053144 seconds and 4 git commands to generate.