diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-06-15 20:12:02 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-17 10:52:13 -0700 |
commit | f53ae1dc3429529a58aa538e0a860d713c7079c3 (patch) | |
tree | fa40b981c48269274183da0bebc9db3cad2c2f92 /kernel/printk.c | |
parent | 30f1e3dd8c72abda343bcf415f7d8894a02b4290 (diff) |
[PATCH] arm_timer: remove a racy and obsolete PF_EXITING check
arm_timer() checks PF_EXITING to prevent BUG_ON(->exit_state)
in run_posix_cpu_timers().
However, for some reason it does so only for CPUCLOCK_PERTHREAD
case (which is imho wrong).
Also, this check is not reliable, PF_EXITING could be set on
another cpu without any locks/barriers just after the check,
so it can't prevent from attaching the timer to the exiting
task.
The previous patch makes this check unneeded.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions