]> git.baikalelectronics.ru Git - kernel.git/commit
HWPOISON: introduce delete_from_lru_cache()
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 16 Dec 2009 11:19:58 +0000 (12:19 +0100)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Dec 2009 11:19:58 +0000 (12:19 +0100)
commit4f9b5c1b354d9ea65a62823777ae608e332310fc
tree7a0c08509e1bff29d5a0a2ba7f414878f024352b
parentab93a50f301fd63c72b39f8f9bd7f9dcf4539e5c
HWPOISON: introduce delete_from_lru_cache()

Introduce delete_from_lru_cache() to
- clear PG_active, PG_unevictable to avoid complains at unpoison time
- move the isolate_lru_page() call back to the handlers instead of the
  entrance of __memory_failure(), this is more hwpoison filter friendly

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/memory-failure.c