projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6510223
)
posix-cpu-timers: Remove useless call to check_dl_overrun()
author
Juri Lelli
<
[email protected]
>
Wed, 7 Nov 2018 11:10:32 +0000
(12:10 +0100)
committer
Thomas Gleixner
<
[email protected]
>
Thu, 8 Nov 2018 06:43:35 +0000
(07:43 +0100)
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: 34be39305a77 ("sched/deadline: Implement "runtime overrun signal" support")
Signed-off-by: Juri Lelli <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
Reviewed-by: Daniel Bristot de Oliveira <
[email protected]
>
Reviewed-by: Steven Rostedt (VMware) <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc: Mathieu Poirier <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Luca Abeni <
[email protected]
>
Cc: Claudio Scordino <
[email protected]
>
Link:
https://lkml.kernel.org/r/
[email protected]
kernel/time/posix-cpu-timers.c
patch
|
blob
|
history
diff --git
a/kernel/time/posix-cpu-timers.c
b/kernel/time/posix-cpu-timers.c
index ce32cf741b250939de562ab05bd598fb30f10986..8f0644af40be7e5869f8f664775183bdb07a0f56 100644
(file)
--- a/
kernel/time/posix-cpu-timers.c
+++ b/
kernel/time/posix-cpu-timers.c
@@
-917,9
+917,6
@@
static void check_process_timers(struct task_struct *tsk,
struct task_cputime cputime;
unsigned long soft;
- if (dl_task(tsk))
- check_dl_overrun(tsk);
-
/*
* If cputimer is not running, then there are no active
* process wide timers (POSIX 1.b, itimers, RLIMIT_CPU).