]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc473677f91f0a3036fdb4520b2d330afa4050135
treea3dc707a8daa6d28e1b1b0d8315dcc5c5339ed59
parent4b6ed4441a491fdd20c945c6b3e488bf4bcd6ffe
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