diff options
author | 2024-06-12 15:18:23 +0800 | |
---|---|---|
committer | 2024-07-03 19:30:10 -0700 | |
commit | 16117532744deac0d2efecf8a422b73a33afd216 (patch) | |
tree | a8dc3bed0bc80c5deb9ea71215845ac41d40435c /include/linux/migrate_mode.h | |
parent | mm/hugetlb: guard dequeue_hugetlb_folio_nodemask against NUMA_NO_NODE uses (diff) | |
download | wireguard-linux-16117532744deac0d2efecf8a422b73a33afd216.tar.xz wireguard-linux-16117532744deac0d2efecf8a422b73a33afd216.zip |
mm/memory-failure: simplify put_ref_page()
Patch series "Some cleanups for memory-failure", v3.
This series contains a few cleanup patches to avoid exporting unused
function, add helper macro, fix some obsolete comments and so on. More
details can be found in the respective changelogs.
This patch (of 13):
Remove unneeded page != NULL check. pfn_to_page() won't return NULL. No
functional change intended.
Link: https://lkml.kernel.org/r/20240612071835.157004-1-linmiaohe@huawei.com
Link: https://lkml.kernel.org/r/20240612071835.157004-2-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Borislav Petkov (AMD) <bp@alien8.de>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: kernel test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/migrate_mode.h')
0 files changed, 0 insertions, 0 deletions