1. 11 Nov, 2003 4 commits
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · ce2b4190
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      ce2b4190
    • Linus Torvalds's avatar
      Avoid racy optimization in signal sending. · 05103a07
      Linus Torvalds authored
      The bug is probably impossible to trigger on x86, due to its
      fairly strong coherency model (the SMP-safe bitops end up being
      memory barriers etc), but other architectures - notably ppc64 -
      can apparently trigger a race whereby the signal sender doesn't
      wake up the target because it doesn't notice that it has gone to
      sleep.
      
      The optimization also optimizes only what appears to be the
      uncommon case, where the signal happens for an already-running
      process.
      05103a07
    • Daniel McNeil's avatar
      [PATCH] Fix AIO reference counts · 06d751b4
      Daniel McNeil authored
      This makes the AIO submit path holds an extra reference until just
      before returning.  This fixes the referencing a free kiocb. 
      
      Without this patch the kernel will oops if the AIO completes early.
      06d751b4
    • Linus Torvalds's avatar
      Fix double unlock of page_table_lock in do_wp_page(). · eba29972
      Linus Torvalds authored
      Noticed by Petr Vandrovec.
      
      In the out-of-memory case, do_wp_page() would unlock page_table_lock
      twice - once before allocating, and once in the exit path.
      
      Rewrite the exit paths to be more readable, and don't try to share
      the code between all the exit cases, since they are very different. 
      eba29972
  2. 10 Nov, 2003 11 commits
  3. 09 Nov, 2003 20 commits
  4. 08 Nov, 2003 5 commits
    • David S. Miller's avatar
      Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5 · f194a1ee
      David S. Miller authored
      into hera.kernel.org:/home/davem/BK/net-2.5
      f194a1ee
    • Krishna Kumar's avatar
      [IPV6]: Fix hangs during interface down caused by ipv6_del_addr(). · 4a32b9e7
      Krishna Kumar authored
      While using PRIVACY extensions, I sometimes get a hang when I remove the
      interface. But I can reproduce this every time using the test script at
      the end of the mail (hang depends on the order of address deletion).
      
      The bug is in ipv6_del_addr() where if a temp address is being deleted, it
      does an __in6_ifa_put() of the main address from which it was derived
      (basically the autoconf prefix address). So if the main address was
      deleted first, it's ifp ref count would be 1 and it would 'wait' to be
      freed till it's temp address was freed first. When the temp address is
      deleted, the __put() routine drops the main address's ifp ref count to 0,
      but not free it. unregister_netdevice() hangs giving message that ref
      count is 1. Fix tested overnight.
      
      Also, the code at the top of the routine is unnecessary, the same is being
      done when the address is found a little later in that routine.
      4a32b9e7
    • Herbert Xu's avatar
      94093659
    • David S. Miller's avatar
      7c411484
    • Ingo Molnar's avatar
      [PATCH] SMP signal latency fix · 0db87bc9
      Ingo Molnar authored
      The code that sends a signal needs to "kick" the target process if it
      runs on another CPU and wasn't woken up by the signal to let it know
      that it has a new event.
      
      Otherwise it might take a long time until the target actually notices
      and acts on the signal.
      0db87bc9