]> git.baikalelectronics.ru Git - kernel.git/commit
HWPOISON: Use new shake_page in memory_failure
authorAndi Kleen <andi@firstfloor.org>
Wed, 16 Dec 2009 11:20:00 +0000 (12:20 +0100)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Dec 2009 11:20:00 +0000 (12:20 +0100)
commitccac2415a6bf2b8236da5c2b5d1f54ace5d3195a
tree75c574fe9a64332aeed6c636bf6bd9e6485d1603
parent7943a9675b788741b682a569bc4152dad7145d9b
HWPOISON: Use new shake_page in memory_failure

shake_page handles more types of page caches than
the much simpler lru_add_drain_all:

- slab (quite inefficiently for now)
- any other caches with a shrinker callback
- per cpu page allocator pages
- per CPU LRU

Use this call to try to turn pages into free or LRU pages.
Then handle the case of the page becoming free after drain everything.

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