timers: fix itimer/many thread hang, cleanups
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -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
|
* tsk->signal is non-NULL; this probably can't happen but cover the
|
||||||
* possibility anyway.
|
* possibility anyway.
|
||||||
*/
|
*/
|
||||||
if (unlikely(!sig) || !fastpath_timer_check(tsk, sig)) {
|
if (unlikely(!sig) || !fastpath_timer_check(tsk, sig))
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
sighand = lock_task_sighand(tsk, &flags);
|
sighand = lock_task_sighand(tsk, &flags);
|
||||||
if (likely(sighand)) {
|
if (likely(sighand)) {
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user