commit | 088ba823231ebf8f2c309128a06e1ad5a4716be4 | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Wed Jun 07 22:40:26 2023 +0100 |
committer | Will Deacon <will@kernel.org> | Thu Jun 08 11:52:50 2023 +0100 |
tree | e8d1cf99b352b7c1fc36b17491ca57fbf65c2fe5 | |
parent | a0cef1063f808d7ac0679631e8744684ff390dd7 [diff] |
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>