timer: Do not acquire a lock on a killed timer.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jun 2010 08:50:45 +0000 (09:50 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jun 2010 08:50:45 +0000 (09:50 +0100)
commitf5030c6d766dbfd3cbf3f59e37ce892c1c358cf3
treecfd130513da49f4062ac6914cf343cf5c54ed217
parent6e880a22173532e199e12e8707681c328f606a0a
timer: Do not acquire a lock on a killed timer.

Its cpu field might be stale and refer to an offlined cpu.

Furthermore, this avoids performing invalid operations on killed
timers.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/timer.c