The patch titled Subject: selftests: vm: ensure the mlock2 syscall number can be found has been added to the -mm tree. Its filename is selftests-vm-add-tests-for-lock-on-fault-fix-2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/selftests-vm-add-tests-for-lock-on-fault-fix-2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/selftests-vm-add-tests-for-lock-on-fault-fix-2.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/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Thierry Reding <treding@xxxxxxxxxx> Subject: selftests: vm: ensure the mlock2 syscall number can be found Include the syscall.h header to ensure that the mlock2 syscall number is available. Otherwise the test program will always return ENOSYS from the mlock2() implementation. Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> Cc: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> Cc: Eric B Munson <emunson@xxxxxxxxxx Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/vm/mlock2-tests.c | 1 + 1 file changed, 1 insertion(+) diff -puN tools/testing/selftests/vm/mlock2-tests.c~selftests-vm-add-tests-for-lock-on-fault-fix-2 tools/testing/selftests/vm/mlock2-tests.c --- a/tools/testing/selftests/vm/mlock2-tests.c~selftests-vm-add-tests-for-lock-on-fault-fix-2 +++ a/tools/testing/selftests/vm/mlock2-tests.c @@ -6,6 +6,7 @@ #include <string.h> #include <sys/time.h> #include <sys/resource.h> +#include <syscall.h> #include <errno.h> #include <stdbool.h> _ Patches currently in -mm which might be from treding@xxxxxxxxxx are selftests-vm-add-tests-for-lock-on-fault-fix.patch selftests-vm-add-tests-for-lock-on-fault-fix-2.patch selftests-vm-add-tests-for-lock-on-fault-fix-3.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html