mm/hwpoison: check the subpage, not the head page
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 28 Feb 2022 23:01:30 +0000 (10:01 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:01:30 +0000 (10:01 +1100)
commit6ffbf1ff6b0ff1c26c37d260b84dc444ab04d6f3
treea11fdec02e52468b6bbaca89f5ab4e32fcf83d47
parent14bad49836512597cfed7a6d7fee0b106f257e28
mm/hwpoison: check the subpage, not the head page

Hardware poison is tracked on a per-page basis, not on the head page.

Link: https://lkml.kernel.org/r/20220130013042.1906881-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/rmap.c