diff options
author | 2008-12-01 14:18:16 -0800 | |
---|---|---|
committer | 2008-12-12 17:01:03 +0100 | |
commit | 8187926bdae98648db24db3391c4efd21ec669b1 (patch) | |
tree | e3f35eee71cdaefcf6af15471a7aee3444e658d4 /include/linux/interrupt.h | |
parent | posix-timers: check ->it_signal instead of ->it_pid to validate the timer (diff) | |
download | wireguard-linux-8187926bdae98648db24db3391c4efd21ec669b1.tar.xz wireguard-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 'include/linux/interrupt.h')
0 files changed, 0 insertions, 0 deletions