The patch titled Subject: mm-swap-cache-maximum-swapfile-size-when-init-swap-fix has been added to the -mm mm-unstable branch. Its filename is mm-swap-cache-maximum-swapfile-size-when-init-swap-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-swap-cache-maximum-swapfile-size-when-init-swap-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Peter Xu <peterx@xxxxxxxxxx> Subject: mm-swap-cache-maximum-swapfile-size-when-init-swap-fix Date: Sun Sep 4 11:00:02 AM PDT 2022 declare arch_max_swapfile_size) in swapfile.h Link: https://lkml.kernel.org/r/YxTh1GuC6ro5fKL5@xz-m1.local Signed-off-by: Peter Xu <peterx@xxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/swapfile.h | 2 ++ 1 file changed, 2 insertions(+) --- a/include/linux/swapfile.h~mm-swap-cache-maximum-swapfile-size-when-init-swap-fix +++ a/include/linux/swapfile.h @@ -8,6 +8,8 @@ */ extern struct swap_info_struct *swap_info[]; extern unsigned long generic_max_swapfile_size(void); +unsigned long arch_max_swapfile_size(void); + /* Maximum swapfile size supported for the arch (not inclusive). */ extern unsigned long swapfile_maximum_size; _ Patches currently in -mm which might be from peterx@xxxxxxxxxx are mm-x86-use-swp_type_bits-in-3-level-swap-macros.patch mm-swap-comment-all-the-ifdef-in-swapopsh.patch mm-swap-add-swp_offset_pfn-to-fetch-pfn-from-swap-entry.patch mm-thp-carry-over-dirty-bit-when-thp-splits-on-pmd.patch mm-remember-young-dirty-bit-for-page-migrations.patch mm-swap-cache-maximum-swapfile-size-when-init-swap.patch mm-swap-cache-maximum-swapfile-size-when-init-swap-fix.patch mm-swap-cache-swap-migration-a-d-bits-support.patch