summaryrefslogtreecommitdiff
path: root/kernel/hrtimer.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-04-04 20:54:10 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-04-17 12:22:31 +0200
commit0d180406f2914aea3a78ddb880e2fe9ac78a9372 (patch)
treedeb1f21d29a3ba8e7bdcc186ea78594599fce409 /kernel/hrtimer.c
parentee7dd205b5cdbc3231d48e38641efd05f572c52a (diff)
downloadlwn-0d180406f2914aea3a78ddb880e2fe9ac78a9372.tar.gz
lwn-0d180406f2914aea3a78ddb880e2fe9ac78a9372.zip
timers: simplify lockdep handling
In order to avoid the false positive from lockdep, each per-cpu base->lock has the separate lock class and migrate_timers() uses double_spin_lock(). This all is overcomplicated: except for migrate_timers() we never take 2 locks at once, and migrate_timers() can use spin_lock_nested(). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions