1. 19 Oct, 2009 2 commits
    • Andi Kleen's avatar
      HWPOISON: Fix page count leak in hwpoison late kill in do_swap_page · 4779cb31
      Andi Kleen authored
      When returning due to a poisoned page drop the page count.
      
      It wasn't a fatal problem because noone cares about the page count
      on a poisoned page (except when it wraps), but it's cleaner to fix it.
      
      Pointed out by Linus.
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      4779cb31
    • Wu Fengguang's avatar
      HWPOISON: return early on non-LRU pages · e43c3afb
      Wu Fengguang authored
      Right now we have some trouble with non atomic access
      to page flags when locking the page. To plug this hole
      for now, limit error recovery to LRU pages for now.
      
      This could be better fixed by defining a suitable protocol,
      but let's go this simple way for now
      
      This avoids unnecessary races with __set_page_locked() and
      __SetPageSlab*() and maybe more non-atomic page flag operations.
      
      This loses isolated pages which are currently in page reclaim, but these
      are relatively limited compared to the total memory.
      Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      [AK: new description, bug fixes, cleanups]
      e43c3afb
  2. 04 Oct, 2009 2 commits
  3. 03 Oct, 2009 6 commits
  4. 02 Oct, 2009 27 commits
  5. 01 Oct, 2009 3 commits