1. 19 Aug, 2002 6 commits
    • Andrew Morton's avatar
      [PATCH] fix uniprocessor lockups · 891975a1
      Andrew Morton authored
      I have a test_and_set_bit(PG_chainlock, page->flags) in page reclaim.
      Which works fine on SMP.  But on uniprocessor, we made
      pte_chain_unlock() a no-op, so all pages end up with PG_chainlock set.
      refill_inactive() cannot move any pages onto the inactive list and the
      machine dies.
      
      The patch removes the test_and_set_bit optimisation in there and just
      uses pte_chain_lock().  If we want that (dubious) optimisation back
      then let's do it right and create pte_chain_trylock().
      891975a1
    • Andrew Morton's avatar
      [PATCH] Fix a race between __page_cache_release() and shrink_cache() · 9bdedfce
      Andrew Morton authored
      __page_cache_release() needs to recheck the page count inside the LRU
      lock, because shrink_cache() may have found the page on the LRU and
      incremented its refcount again.
      
      Which is carefully documented over __pagevec_release().  Duh.
      9bdedfce
    • Dave Hansen's avatar
      [PATCH] fix link problem in ips driver · ac31cf70
      Dave Hansen authored
      ac31cf70
    • Dave Hansen's avatar
      [PATCH] NUMA-Q disable irqbalance · 01a8d063
      Dave Hansen authored
      Here's a patch from Andrea's tree that uses IRQ_BALANCE_INTERVAL to
      define how often interrupts are balanced, staying independent from HZ.
      
        It also makes sure that there _is_ a change to the configuration
      before it actually writes it.  It reminds me of the mod_timer
      optimization.
      01a8d063
    • Linus Torvalds's avatar
      Remove extraneous ptrace.h include · 85f817cd
      Linus Torvalds authored
      85f817cd
    • Ingo Molnar's avatar
      [PATCH] O(1) sys_exit(), threading, scalable-exit-2.5.31-B4 · d79c07a4
      Ingo Molnar authored
      the attached patch updates a number of items:
      
       - adds cleanups suggested by Christoph Hellwig: needed unlikely()
         statements, a superfluous #define and line length problems.
      
       - splits up the global ptrace list into per-task ptrace lists. This was
         pretty straightforward, and this makes the worst-case exit() latency
         O(nr_children).
      
      the per-task ptrace lists unearthed a bug that the previous code did not
      take care of: tasks on the ptrace list have to be correctly reparented as
      well. This patch passed my stresstests as well.
      d79c07a4
  2. 17 Aug, 2002 3 commits
  3. 16 Aug, 2002 5 commits
  4. 17 Aug, 2002 1 commit
  5. 16 Aug, 2002 14 commits
  6. 17 Aug, 2002 6 commits
  7. 16 Aug, 2002 2 commits
  8. 15 Aug, 2002 3 commits
    • Linus Torvalds's avatar
      c2480c85
    • Andrew Morton's avatar
      [PATCH] memory leak in current BK · 2329a4f6
      Andrew Morton authored
      Well I didn't test that very well.  __page_cache_release() is doing a
      __free_page() on a zero-ref page, so __free_pages() sends the refcount
      negative and doesn't free it.  With patch #8, page_cache_release()
      almost never frees pages, but it must have been leaking a little bit.
      Lucky it showed up.
      
      This fixes it, and also adds a missing PageReserved test in put_page().
      Which makes put_page() identical to page_cache_release(), but there are
      header file woes.  I'll fix that up later.
      2329a4f6
    • Brad Heilbrun's avatar
      [PATCH] Reorder unlocking in rq_unlock · 0016745e
      Brad Heilbrun authored
      This trivial patch reorders the unlocking in rq_unlock()... I was
      tired of getting stack dumps in my messages file.
      0016745e