tmp_suning_uos_patched/arch
Peter Zijlstra aa02cd2d9b xtime_lock vs update_process_times
Commit d3d74453c3 ("hrtimer: fixup the
HRTIMER_CB_IRQSAFE_NO_SOFTIRQ fallback") broke several archs, and since
only Russell bothered to merge the fix, and Greg to ACK his arch, I'm
sending this for merger.

I have confirmation that the Alpha bit results in a booting kernel.
That leaves: blackfin, frv, sh and sparc untested.

The deadlock in question was found by Russell:

  IRQ handle
    -> timer_tick() - xtime seqlock held for write
      -> update_process_times()
        -> run_local_timers()
          -> hrtimer_run_queues()
            -> hrtimer_get_softirq_time() - tries to get a read lock

Now, Thomas assures me the fix is trivial, only do_timer() needs to be
done under the xtime_lock, and update_process_times() can savely be
removed from under it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Greg Ungerer <gerg@uclinux.org>
CC: Richard Henderson <rth@twiddle.net>
CC: Bryan Wu <bryan.wu@analog.com>
CC: David Howells <dhowells@redhat.com>
CC: Paul Mundt <lethal@linux-sh.org>
CC: William Irwin <wli@holomorphy.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-13 13:29:25 -08:00
..
alpha xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
arm Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-02-10 14:09:44 -08:00
avr32 ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
blackfin xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
cris ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
frv xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
h8300 ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
ia64 [IA64] Fix build for sim_defconfig 2008-02-11 13:23:46 -08:00
m32r ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
m68k ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
m68knommu xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
mips ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
mn10300 mn10300: add platform MTD support for the ASB2303 board 2008-02-08 09:22:30 -08:00
parisc ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
powerpc ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
ppc ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
s390 [S390] dynamic page tables. 2008-02-09 18:24:41 +01:00
sh xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
sparc xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
sparc64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-09 23:28:26 -08:00
um uml: make mconsole_stack namespace-aware 2008-02-05 09:44:32 -08:00
v850 ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
x86 x86: pit_clockevent can be static 2008-02-13 16:20:35 +01:00
xtensa ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
.gitignore
Kconfig Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00