]> git.hungrycats.org Git - linux/commit
[PATCH] ia32 sched_clock() deadlock fix
authorAndrew Morton <akpm@osdl.org>
Tue, 6 Jan 2004 23:52:48 +0000 (15:52 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 6 Jan 2004 23:52:48 +0000 (15:52 -0800)
commitc1e4ed23d2d7d7c142852000af00ba561e11039a
tree76842180d6c2e809571d050509b796a825a6a285
parentc358e2192145ed6ca5e6ffca542ea68d8068767d
[PATCH] ia32 sched_clock() deadlock fix

From: Ingo Molnar <mingo@elte.hu>,

Voyager is getting odd deadlocks due to the taking of xtime_lock() in
sched_clock()->get_jiffies_64().

I had this patch queued up to fix a different deadlock, which occurs when we
relax the requirement that TSC's be synchronised across CPUs.  But it will
fix James' deadlock too.
arch/i386/kernel/timers/timer_tsc.c