The patch titled Subject: mm-pass-task-and-mm-to-do_madvise-fix-fix-fix-fix has been added to the -mm tree. Its filename is mm-pass-task-and-mm-to-do_madvise-fix-fix-fix-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-pass-task-and-mm-to-do_madvise-fix-fix-fix-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-pass-task-and-mm-to-do_madvise-fix-fix-fix-fix.patch 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 and is updated there every 3-4 working days ------------------------------------------------------ From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Subject: mm-pass-task-and-mm-to-do_madvise-fix-fix-fix-fix add missing includes Cc: Minchan Kim <minchan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/madvise.c | 2 ++ 1 file changed, 2 insertions(+) --- a/mm/madvise.c~mm-pass-task-and-mm-to-do_madvise-fix-fix-fix-fix +++ a/mm/madvise.c @@ -22,12 +22,14 @@ #include <linux/file.h> #include <linux/blkdev.h> #include <linux/backing-dev.h> +#include <linux/compat.h> #include <linux/pagewalk.h> #include <linux/swap.h> #include <linux/swapops.h> #include <linux/shmem_fs.h> #include <linux/mmu_notifier.h> #include <linux/sched/mm.h> +#include <linux/uio.h> #include <asm/tlb.h> _ Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxxx are mm-pass-task-and-mm-to-do_madvise-fix-fix-fix-fix.patch mm-support-vector-address-ranges-for-process_madvise-fix-fix.patch