Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] timer exit cleanup

Do all timer zapping in exit_itimers.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Ingo Molnar and committed by
Linus Torvalds
caf2857a 97008082

+2 -3
+1 -3
kernel/exit.c
··· 811 811 acct_update_integrals(tsk); 812 812 update_mem_hiwater(tsk); 813 813 group_dead = atomic_dec_and_test(&tsk->signal->live); 814 - if (group_dead) { 815 - del_timer_sync(&tsk->signal->real_timer); 814 + if (group_dead) 816 815 acct_process(code); 817 - } 818 816 exit_mm(tsk); 819 817 820 818 exit_sem(tsk);
+1
kernel/posix-timers.c
··· 1197 1197 tmr = list_entry(sig->posix_timers.next, struct k_itimer, list); 1198 1198 itimer_delete(tmr); 1199 1199 } 1200 + del_timer_sync(&sig->real_timer); 1200 1201 } 1201 1202 1202 1203 /*