diff options
author | 2022-08-26 16:34:53 +0800 | |
---|---|---|
committer | 2022-09-01 11:19:54 +0200 | |
commit | 973bee493a1f75c6c0752a74fb9396cbc34f026e (patch) | |
tree | 93ecd46ffe43e493a0667b26e4f4a3843da2763f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'sched/warnings' into sched/core, to pick up WARN_ON_ONCE() conversion commit (diff) | |
download | linux-dev-973bee493a1f75c6c0752a74fb9396cbc34f026e.tar.xz linux-dev-973bee493a1f75c6c0752a74fb9396cbc34f026e.zip |
sched/deadline: Add dl_task_is_earliest_deadline helper
Wrap repeated code in helper function dl_task_is_earliest_deadline, which
return true if there is no deadline task on the rq at all, or task's
deadline earlier than the whole rq.
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/20220826083453.698-1-shangxiaojing@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions