]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memory-failure: move hwpoison_filter() higher up
authorJane Chu <jane.chu@oracle.com>
Fri, 24 May 2024 21:53:05 +0000 (15:53 -0600)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:29:58 +0000 (19:29 -0700)
commit9b0ab153d76972a3bee4f363058ff06edf9255a3
tree578bd5e74ed43d10a03a81999ee98cf6ee19e52f
parentb8b9488d50b7150bd4830dfff487e8d4ef6589ba
mm/memory-failure: move hwpoison_filter() higher up

Move hwpoison_filter() higher up as there is no need to spend a lot cycles
only to find out later that the page is supposed to be skipped from
hwpoison handling.

Link: https://lkml.kernel.org/r/20240524215306.2705454-5-jane.chu@oracle.com
Signed-off-by: Jane Chu <jane.chu@oracle.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Acked-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Oscar Salvador <oalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c