Oleg Nesterov
fd450b7318
[PATCH] timers: introduce try_to_del_timer_sync()
...
This patch splits del_timer_sync() into 2 functions. The new one,
try_to_del_timer_sync(), returns -1 when it hits executing timer.
It can be used in interrupt context, or when the caller hold locks which
can prevent completion of the timer's handler.
NOTE. Currently it can't be used in interrupt context in UP case, because
->running_timer is used only with CONFIG_SMP.
Should the need arise, it is possible to kill #ifdef CONFIG_SMP in
set_running_timer(), it is cheap.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-23 09:45:16 -07:00
..
irq
[PATCH] uml: make hw_controller_type->release exist only for archs needing it
2005-06-21 19:07:32 -07:00
power
[PATCH] smp_processor_id() cleanup
2005-06-21 18:46:13 -07:00
acct.c
audit.c
AUDIT: Unify auid reporting, put arch before syscall number
2005-05-23 21:35:28 +01:00
auditsc.c
AUDIT: Record working directory when syscall arguments are pathnames
2005-05-27 12:17:28 +01:00
capability.c
compat.c
configs.c
cpu.c
cpuset.c
[PATCH] cpuset exit NULL dereference fix
2005-05-27 08:07:26 -07:00
dma.c
exec_domain.c
exit.c
[PATCH] timer exit cleanup
2005-06-17 10:03:50 -07:00
extable.c
fork.c
[PATCH] dup_mmap: update comment on new vma
2005-06-21 18:46:19 -07:00
futex.c
[PATCH] convert that currently tests _NSIG directly to use valid_signal()
2005-05-01 08:59:14 -07:00
intermodule.c
itimer.c
[PATCH] setitimer timer expires too early
2005-05-05 16:36:41 -07:00
kallsyms.c
[PATCH] ppc32: platform-specific functions missing from kallsyms.
2005-05-05 16:36:31 -07:00
Kconfig.hz
[PATCH] i386: Selectable Frequency of the Timer Interrupt
2005-06-23 09:45:10 -07:00
kfifo.c
kmod.c
kprobes.c
[PATCH] kprobes: Allow multiple kprobes at the same address
2005-05-05 16:36:39 -07:00
ksysfs.c
kthread.c
[PATCH] use smp_mb/wmb/rmb where possible
2005-05-01 08:58:47 -07:00
Makefile
[PATCH] ppc64: remove hidden -fno-omit-frame-pointer for schedule.c
2005-05-05 16:36:32 -07:00
module.c
[PATCH] smp_processor_id() cleanup
2005-06-21 18:46:13 -07:00
panic.c
[SPARC]: Stop-A printk cleanup
2005-04-24 20:38:02 -07:00
params.c
[PATCH] sysfs: (rest) if show/store is missing return -EIO
2005-06-20 15:15:03 -07:00
pid.c
posix-cpu-timers.c
posix-timers.c
[PATCH] timer exit cleanup
2005-06-17 10:03:50 -07:00
printk.c
[PATCH] add_preferred_console() build fix
2005-05-17 07:59:19 -07:00
profile.c
[PATCH] profile.c: `schedule' parsing fix
2005-05-17 07:59:21 -07:00
ptrace.c
[PATCH] convert that currently tests _NSIG directly to use valid_signal()
2005-05-01 08:59:14 -07:00
rcupdate.c
[PATCH] Deprecate synchronize_kernel, GPL replacement
2005-05-01 08:59:04 -07:00
resource.c
[PATCH] pci enumeration on ixp2000: overflow in kernel/resource.c
2005-04-16 15:25:58 -07:00
sched.c
[PATCH] smp_processor_id() cleanup
2005-06-21 18:46:13 -07:00
seccomp.c
signal.c
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
2005-06-02 16:39:11 +01:00
softirq.c
spinlock.c
[PATCH] spin_unlock_bh() and preempt_check_resched()
2005-05-21 10:46:48 -07:00
stop_machine.c
[PATCH] smp_processor_id() cleanup
2005-06-21 18:46:13 -07:00
sys.c
[PATCH] correctly name the Shell sort
2005-05-05 16:36:50 -07:00
sys_ni.c
[PATCH] VM: early zone reclaim
2005-06-21 18:46:14 -07:00
sysctl.c
[PATCH] DocBook: fix some descriptions
2005-05-01 08:59:26 -07:00
time.c
[PATCH] time interpolator: Fix settimeofday inaccuracy
2005-04-28 08:13:58 -07:00
timer.c
[PATCH] timers: introduce try_to_del_timer_sync()
2005-06-23 09:45:16 -07:00
uid16.c
user.c
wait.c
workqueue.c