]> git.ipfire.org Git - thirdparty/linux.git/commit
mm: memory-failure: add PageOffline() check
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 27 Jul 2023 11:56:43 +0000 (19:56 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 2 Sep 2023 22:17:33 +0000 (15:17 -0700)
commit7a8817f2c96e98d5e65a59e34ba9ea1ff6ed23bc
treecc9c0825ca036ba8d3cc32144ed1f15f8b0b0a11
parent52ae298e3e5c9be5bb95e1c6d9199e5210f2a156
mm: memory-failure: add PageOffline() check

Memory failure is not interested in logically offlined pages.  Skip this
type of page.

Link: https://lkml.kernel.org/r/20230727115643.639741-5-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c