Skip to content
Commit 24eb17aa authored by Qais Yousef's avatar Qais Yousef
Browse files

sched: Make sched_set{scheduler, attr}() static



Now all external users are using alternative exported wrappers, hide the
definition of these functions.

The rationale behind that is that it is hard to reason in the kernel
about an optimal correct settings for a task given the wide range of
systems the kernel can run on.

In-kernel users are legitimate still, but by providing correct wrappers
we ensure they're sane and consistent. Hence producing no surprise
results or extra level of management to userspace.

The two main concerns are:

	1. Being able to set pseudo-random RT priorities which make no
	   sense outside of the system and workload it was tried on.

	2. Being able to set pseudo-random uclamp min/max values which
	   also don't make a lot of sense outside of the system and
	   workload it was tried on.

Signed-off-by: Qais Yousef's avatarQais Yousef <qais.yousef@arm.com>
parent 18323924
Loading
Loading
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