1. 20 Feb, 2003 5 commits
    • Linus Torvalds's avatar
      Fix x86 "switch_to()" to properly set the previous task information, · e58d8e30
      Linus Torvalds authored
      which is needed to keep track of process usage counts correctly and
      efficiently.
      e58d8e30
    • Dave Hansen's avatar
      [PATCH] make io_apic.c use named initializers · 91e2be46
      Dave Hansen authored
      Bill Irwin was talking about hw_interrupt_type.set_affinity and kirq.
      When I went looking, I failed to find this initialization.
      
      Here are some nice, easy-to-find, named initializers.
      91e2be46
    • Andrew Morton's avatar
      [PATCH] Don't call mmdrop under a spinlock · 6fe3b423
      Andrew Morton authored
      We're calling mmdrop() under spin_lock_irq(&rq->lock).  But mmdrop
      calls vfree(), which calls smp_call_function().
      
      It is not legal to call smp_call_function() with irq's off.  Because
      another CPU may be running smp_call_function() against _this_ CPU, which
      deadlocks.
      
      So the patch arranges for mmdrop() to not be called under
      spin_lock_irq(&rq->lock).
      6fe3b423
    • Andrew Morton's avatar
      [PATCH] Keep interrupts enabled in exit path · 776969f0
      Andrew Morton authored
      We are leaving local interrupts disabled coming out of exit_notify().
      
      But we are about to call wait_task_inactive() which spins, waiting for
      another CPU to end a task.  If that CPU has issued smp_call_function() to
      this CPU, deadlock.
      
      So the patch enables interrupts again before returning from exit_notify().
      
      Also, exit_notify() returns with preemption disabled, so there is no
      need to perform another preempt_disable() in do_exit().
      776969f0
    • John Levon's avatar
      [PATCH] oprofile author needs to learn C · 3b6244e1
      John Levon authored
      Manifested as X profile appearing as /dev/mem ...
      3b6244e1
  2. 19 Feb, 2003 35 commits