diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-06-12 16:41:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2004-06-12 16:41:45 -0700 |
| commit | efa7ca06476c7ec41712ddb46d39d7b38deae5c6 (patch) | |
| tree | 7fc8fa403529d604e13a1bf7f70b9aeef2503e6c /kernel | |
| parent | 9566ad6513cd968273b8d45d38f40f544da4d224 (diff) | |
[PATCH] fix the exit-vs-timer race fix
As Roland McGrath <roland@redhat.com> points out, we need to zero
task->it_virt_value to prevent timer-based signal delivery, not
->it_virt_incr.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 0be17fec85fe..3a51fec0aabc 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -740,7 +740,7 @@ static void exit_notify(struct task_struct *tsk) * Clear these here so that update_process_times() won't try to deliver * itimer, profile or rlimit signals to this task while it is in late exit. */ - tsk->it_virt_incr = 0; + tsk->it_virt_value = 0; tsk->it_prof_value = 0; tsk->rlim[RLIMIT_CPU].rlim_cur = RLIM_INFINITY; |
