bpf: Add uclamp helper

Introduce a new bpf helper function, bpf_set_current_uclamp(), which
wraps sched_setattr() and allows a bpf program to specify the minimum
and maximum utilisation values for its task context.

Signed-off-by: Will Deacon <will@kernel.org>
2 files changed