• W
    HWPOISON: Add unpoisoning support · 847ce401
    Wu Fengguang 提交于
    The unpoisoning interface is useful for stress testing tools to
    reclaim poisoned pages (to prevent OOM)
    
    There is no hardware level unpoisioning, so this
    cannot be used for real memory errors, only for software injected errors.
    
    Note that it may leak pages silently - those who have been removed from
    LRU cache, but not isolated from page cache/swap cache at hwpoison time.
    Especially the stress test of dirty swap cache pages shall reboot system
    before exhausting memory.
    
    AK: Fix comments, add documentation, add printks, rename symbol
    Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
    Signed-off-by: NAndi Kleen <ak@linux.intel.com>
    847ce401
memory-failure.c 26.0 KB