diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-04-12 22:35:05 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-06 03:53:46 +0300 |
commit | 03468a0f52893b8dea4a96677ad9ff78bf55d765 (patch) | |
tree | 3587b4fd5035e60077c52564d6728321f9304b4c /mm/migrate_device.c | |
parent | 5dba5c356ab3bbf6b00a42632f3e14728f327553 (diff) | |
download | linux-03468a0f52893b8dea4a96677ad9ff78bf55d765.tar.xz |
mm/memory-failure: convert hwpoison_user_mappings to take a folio
Pass the folio from the callers, and use it throughout instead of hpage.
Saves dozens of calls to compound_head().
Link: https://lkml.kernel.org/r/20240412193510.2356957-9-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Jane Chu <jane.chu@oracle.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/migrate_device.c')
0 files changed, 0 insertions, 0 deletions