android_kernel_motorola_sm6375/arch/frv
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
CC: Richard Henderson <[email protected]>
CC: Bryan Wu <[email protected]>
CC: David Howells <[email protected]>
CC: Paul Mundt <[email protected]>
CC: William Irwin <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Acked-by: Ivan Kokshaysky <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-02-13 13:29:25 -08:00
..
boot FRV: Drop 'TOPDIR' from Makefiles 2008-01-28 23:14:37 +01:00
kernel xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
lib move frv docs one level up 2008-02-03 15:54:28 +02:00
mb93090-mb00 scatterlist fallout: frv 2007-10-27 22:18:11 -07:00
mm CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
defconfig
Kconfig ide: introduce HAVE_IDE 2008-02-09 10:46:40 +01:00
Kconfig.debug
Makefile kbuild: enable 'make AFLAGS=...' to add additional options to AS 2007-10-15 21:59:31 +02:00