mm, madvise_inject_error: Disable MADV_SOFT_OFFLINE for ZONE_DEVICE pages
authorDan Williams <dan.j.williams@intel.com>
Sat, 14 Jul 2018 04:49:56 +0000 (21:49 -0700)
committerDave Jiang <dave.jiang@intel.com>
Fri, 20 Jul 2018 18:21:53 +0000 (11:21 -0700)
commit86a66810baa87e5d1c93a51f71d36c7f71fe3113
tree7bf2be04372c4d89700da9adebc2a6e7f85fe5f2
parent73449daf8f0db2697fb9f3f60b3a6d5c76a3c5fc
mm, madvise_inject_error: Disable MADV_SOFT_OFFLINE for ZONE_DEVICE pages

Given that dax / device-mapped pages are never subject to page
allocations remove them from consideration by the soft-offline
mechanism.

Reported-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
mm/memory-failure.c