diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-08-26 18:00:37 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-01 11:19:54 +0200 |
commit | 96458e7f7dc5ad14bd7577cbf1638e1504ad79dd (patch) | |
tree | 6ff8263bac2af987f82ffa956ab7a2368e64654a /lib/kunit/executor_test.c | |
parent | 973bee493a1f75c6c0752a74fb9396cbc34f026e (diff) |
sched/deadline: Add replenish_dl_new_period helper
Wrap repeated code in helper function replenish_dl_new_period, which set
the deadline and runtime of input dl_se based on pi_of(dl_se). Note that
setup_new_dl_entity originally set the deadline and runtime base on
dl_se, which should equals to pi_of(dl_se) for non-boosted task.
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Link: https://lore.kernel.org/r/20220826100037.12146-1-shangxiaojing@huawei.com
Diffstat (limited to 'lib/kunit/executor_test.c')
0 files changed, 0 insertions, 0 deletions