Skip to content
Snippets Groups Projects
Commit 089768df authored by Yajun Deng's avatar Yajun Deng Committed by Ingo Molnar
Browse files

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: default avatarYajun Deng <yajun.deng@linux.dev>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231008021538.3063250-1-yajun.deng@linux.dev
parent f4bb5705
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment