]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] hrtimers: cleanup locking
authorThomas Gleixner <tglx@linutronix.de>
Fri, 16 Feb 2007 09:27:50 +0000 (01:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 16 Feb 2007 16:13:58 +0000 (08:13 -0800)
commit3c8aa39d7c445ae2612b6b626f76f077e7a7ab0d
tree8e07fc3dbddc0d5a8be3ecda491ec4410c90ed6b
parentc9cb2e3d7c9178ab75d0942f96abb3abe0369906
[PATCH] hrtimers: cleanup locking

Improve kernel/hrtimers.c locking: use a per-CPU base with a lock to control
locking of all clocks belonging to a CPU.  This simplifies code that needs to
lock all clocks at once.  This makes life easier for high-res timers and
dyntick.

No functional changes.

[ optimization change from Andrew Morton <akpm@osdl.org> ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hrtimer.h
kernel/hrtimer.c