diff options
| author | Shang XiaoJing <[email protected]> | 2022-08-26 08:34:53 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-09-01 09:19:54 +0000 |
| commit | 973bee493a1f75c6c0752a74fb9396cbc34f026e (patch) | |
| tree | 93ecd46ffe43e493a0667b26e4f4a3843da2763f /net/unix/af_unix.c | |
| parent | Merge branch 'sched/warnings' into sched/core, to pick up WARN_ON_ONCE() conv... (diff) | |
| download | kernel-973bee493a1f75c6c0752a74fb9396cbc34f026e.tar.gz kernel-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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Daniel Bristot de Oliveira <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
