Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Wednesday, September 10, 2008 - 4:44 am

On 09/09, Roland McGrath wrote:

run_posix_cpu_timers() must check ->signal != NULL anyway. (The same for
other functions like account_group_user_time() which are called by the
timer tick).

Apart from the timer tick, "current" should not use this function after
exit_notify().

And, if tsk != current, ->signal must be pinned, this means it can't be NULL.


Perhaps I missed something, but imho this check is confusing and misleading.
However, this is just a minor detail even if I am right.

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.27-rc5] Fix itimer/many thread hang., Frank Mayhar, (Mon Sep 8, 1:44 pm)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Ingo Molnar, (Tue Sep 9, 12:03 am)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Oleg Nesterov, (Tue Sep 9, 9:01 am)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Oleg Nesterov, (Tue Sep 9, 9:13 am)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Frank Mayhar, (Tue Sep 9, 1:29 pm)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Roland McGrath, (Tue Sep 9, 8:59 pm)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Roland McGrath, (Tue Sep 9, 9:04 pm)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Oleg Nesterov, (Wed Sep 10, 4:44 am)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Oleg Nesterov, (Wed Sep 10, 5:12 am)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Oleg Nesterov, (Wed Sep 10, 9:32 am)
Re: [PATCH 2.6.27-rc5] Fix itimer/many thread hang., Frank Mayhar, (Wed Sep 10, 10:50 am)