1. 19 10月, 2009 2 次提交
    • A
      HWPOISON: Fix page count leak in hwpoison late kill in do_swap_page · 4779cb31
      Andi Kleen 提交于
      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: NAndi Kleen <ak@linux.intel.com>
      4779cb31
    • W
      HWPOISON: return early on non-LRU pages · e43c3afb
      Wu Fengguang 提交于
      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: NWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      [AK: new description, bug fixes, cleanups]
      e43c3afb
  2. 04 10月, 2009 6 次提交
  3. 03 10月, 2009 22 次提交
  4. 02 10月, 2009 10 次提交