mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
timers: fix itimer/many thread hang, cleanups
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
0a8eaa4f9b
commit
5ce73a4a5a
2 changed files with 4 additions and 4 deletions
|
@ -1372,9 +1372,9 @@ void run_posix_cpu_timers(struct task_struct *tsk)
|
|||
* tsk->signal is non-NULL; this probably can't happen but cover the
|
||||
* possibility anyway.
|
||||
*/
|
||||
if (unlikely(!sig) || !fastpath_timer_check(tsk, sig)) {
|
||||
if (unlikely(!sig) || !fastpath_timer_check(tsk, sig))
|
||||
return;
|
||||
}
|
||||
|
||||
sighand = lock_task_sighand(tsk, &flags);
|
||||
if (likely(sighand)) {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue