diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-12-01 23:18:16 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-12 17:01:03 +0100 |
commit | 8187926bdae98648db24db3391c4efd21ec669b1 (patch) | |
tree | e3f35eee71cdaefcf6af15471a7aee3444e658d4 /kernel/posix-timers.c | |
parent | posix-timers: check ->it_signal instead of ->it_pid to validate the timer (diff) | |
download | linux-8187926bdae98648db24db3391c4efd21ec669b1.tar.xz linux-8187926bdae98648db24db3391c4efd21ec669b1.zip |
posix-timers: simplify de_thread()->exit_itimers() path
Impact: simplify code
de_thread() postpones release_task(leader) until after exit_itimers().
This was needed because !SIGEV_THREAD_ID timers could use ->group_leader
without get_task_struct(). With the recent changes we can release the
leader earlier and simplify the code.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/posix-timers.c')
0 files changed, 0 insertions, 0 deletions