HWPOISON: return 0 to indicate success reliably
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)
commit138ce286eb6ee6d39ca4fb50516e93adaf6b605f
treea3dc707a8daa6d28e1b1b0d8315dcc5c5339ed59
parentd95ea51e3a7e9ee051d19f1dd283ca61d1aa5ec6
HWPOISON: return 0 to indicate success reliably

Return 0 to indicate success, when
- action result is RECOVERED or DELAYED
- no extra page reference

Note that dirty swapcache pages are kept in swapcache, so can have one
more reference count.

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