1. 18 11月, 2005 1 次提交
    • J
      [PARISC] Make sure timer and IPI execute with interrupts disabled · 9a8b4584
      James Bottomley 提交于
      Fix a longstanding smp bug
      
      The problem is that both the timer and ipi interrupts are being called
      with interrupts enabled, which isn't what anyone is expecting.
      
      The IPI issue has just started to show up by causing a BUG_ON in the
      slab debugging code.  The timer issue never shows up because there's an
      eiem work around in our irq.c
      
      The fix is to label both these as SA_INTERRUPT which causes the generic
      irq code not to enable interrupts.
      
      I also suspect the smp_call_function timeouts we're seeing might be
      connected with the fact that we disable IPIs when handling any other
      type of interrupt.  I've put a WARN_ON in the code for executing
      smp_call_function() with IPIs disabled.
      Signed-off-by: NJames Bottomley <jejb@parisc-linux.org>
      Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
      9a8b4584
  2. 09 11月, 2005 1 次提交
    • N
      [PATCH] sched: disable preempt in idle tasks · 5bfb5d69
      Nick Piggin 提交于
      Run idle threads with preempt disabled.
      
      Also corrected a bugs in arm26's cpu_idle (make it actually call schedule()).
      How did it ever work before?
      
      Might fix the CPU hotplugging hang which Nigel Cunningham noted.
      
      We think the bug hits if the idle thread is preempted after checking
      need_resched() and before going to sleep, then the CPU offlined.
      
      After calling stop_machine_run, the CPU eventually returns from preemption and
      into the idle thread and goes to sleep.  The CPU will continue executing
      previous idle and have no chance to call play_dead.
      
      By disabling preemption until we are ready to explicitly schedule, this bug is
      fixed and the idle threads generally become more robust.
      
      From: alexs <ashepard@u.washington.edu>
      
        PPC build fix
      
      From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
      
        MIPS build fix
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NYoichi Yuasa <yuasa@hh.iij4u.or.jp>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5bfb5d69
  3. 22 10月, 2005 1 次提交
  4. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4