diff options
author | Roland McGrath | 2005-07-12 22:58:27 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-07-13 01:01:01 +0200 |
commit | 5323125031799a7fd8602ce150c3902aedfdcba6 (patch) | |
tree | 43281ea094cba176e88ba50561e2a04aa8beed8c /fs/ext3 | |
parent | [PATCH] xtensa: use ssleep() instead of schedule_timeout() (diff) | |
download | kernel-qcow2-linux-5323125031799a7fd8602ce150c3902aedfdcba6.tar.gz kernel-qcow2-linux-5323125031799a7fd8602ce150c3902aedfdcba6.tar.xz kernel-qcow2-linux-5323125031799a7fd8602ce150c3902aedfdcba6.zip |
[PATCH] reset real_timer target on exec leader change
When a noninitial thread does exec, it becomes the new group leader. If
there is a ITIMER_REAL timer running, it points at the old group leader and
when it fires it can follow a stale pointer. The timer data needs to be
reset to point at the exec'ing thread that is becoming the group leader.
This has to synchronize with any concurrent firing of the timer to make
sure that it_real_fn can never run when the data points to a thread that
might have been reaped already.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3')
0 files changed, 0 insertions, 0 deletions