The patch titled Subject: tools-mm-introduce-a-tool-to-assess-swap-entry-allocation-for-thp_swapout-fix has been added to the -mm mm-unstable branch. Its filename is tools-mm-introduce-a-tool-to-assess-swap-entry-allocation-for-thp_swapout-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/tools-mm-introduce-a-tool-to-assess-swap-entry-allocation-for-thp_swapout-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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: tools-mm-introduce-a-tool-to-assess-swap-entry-allocation-for-thp_swapout-fix Date: Tue Jun 25 11:01:55 AM PDT 2024 tools/mm/thp_swap_allocator_test.c needs linux/mman.h, per Kairui Song Cc: Barry Song <v-songbaohua@xxxxxxxx> Cc: Chris Li <chrisl@xxxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: "Huang, Ying" <ying.huang@xxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Kairui Song <kasong@xxxxxxxxxxx> Cc: Kalesh Singh <kaleshsingh@xxxxxxxxxx> Cc: Ryan Roberts <ryan.roberts@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/mm/thp_swap_allocator_test.c | 1 + 1 file changed, 1 insertion(+) --- a/tools/mm/thp_swap_allocator_test.c~tools-mm-introduce-a-tool-to-assess-swap-entry-allocation-for-thp_swapout-fix +++ a/tools/mm/thp_swap_allocator_test.c @@ -27,6 +27,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> +#include <linux/mman.h> #include <sys/mman.h> #include <errno.h> #include <time.h> _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-allow-reuse-of-the-lower-16-bit-of-the-page-type-with-an-actual-type-fix.patch mm-extend-rmap-flags-arguments-for-folio_add_new_anon_rmap-fix.patch mm-use-folio_add_new_anon_rmap-if-folio_test_anonfolio==false-fix.patch tools-mm-introduce-a-tool-to-assess-swap-entry-allocation-for-thp_swapout-fix.patch