]> git.baikalelectronics.ru Git - kernel.git/commit
hrtimer, softirq: Fix hrtimer->softirq trampoline
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 3 Feb 2010 17:08:52 +0000 (18:08 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 3 Feb 2010 17:17:40 +0000 (18:17 +0100)
commitb56b313853ddb546455be672f74bc3c1e1fb0dc2
tree1727289fff4ea4fdcd93658d07e20ab53b55af96
parent91d977ba73610536dc9a5c9c7b56ca874b3fb6ec
hrtimer, softirq: Fix hrtimer->softirq trampoline

hrtimers callbacks are always done from hardirq context, either the
jiffy tick interrupt or the hrtimer device interrupt.

[ there is currently one exception that can still call a hrtimer
  callback from softirq, but even in that case this will still
  work correctly. ]

Reported-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Yury Polyanskiy <ypolyans@princeton.edu>
Tested-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: David S. Miller <davem@davemloft.net>
LKML-Reference: <1265120401.24455.306.camel@laptop>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/softirq.c