Commit e6a2d72c authored by Juri Lelli's avatar Juri Lelli Committed by Thomas Gleixner
Browse files

posix-cpu-timers: Remove useless call to check_dl_overrun()

check_dl_overrun() is used to send a SIGXCPU to users that asked to be
informed when a SCHED_DEADLINE runtime overruns occur.

The function is called by check_thread_timers() already, so the call in
check_process_timers() is redundant/wrong (even though harmless).

Remove it.

Fixes: 34be3930

 ("sched/deadline: Implement "runtime overrun signal" support")
Signed-off-by: default avatarJuri Lelli <>
Signed-off-by: default avatarThomas Gleixner <>
Reviewed-by: default avatarDaniel Bristot de Oliveira <>
Reviewed-by: default avatarSteven Rostedt (VMware) <>
Cc: Mathieu Poirier <>
Cc: Peter Zijlstra <>
Cc: Luca Abeni <>
Cc: Claudio Scordino <>
parent 65102238
......@@ -917,9 +917,6 @@ static void check_process_timers(struct task_struct *tsk,
struct task_cputime cputime;
unsigned long soft;
if (dl_task(tsk))
* If cputimer is not running, then there are no active
* process wide timers (POSIX 1.b, itimers, RLIMIT_CPU).
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment