Hello Andrew, Maybe I'm doing something utterly wrong, but when I try to build userfaultfd tests in the current -mm tree, I get build errors: cd linux/tools/testing/selftest/vm make OUTPUT=/tmp gcc -Wall -I ../../../../usr/include -lrt -lpthread ../../../../usr/include/linux/kernel.h userfaultfd.c -o /tmp//userfaultfd /tmp/ccdORx6g.o: In function `stress': userfaultfd.c:(.text+0xd84): undefined reference to `pthread_create' userfaultfd.c:(.text+0xdc9): undefined reference to `pthread_create' userfaultfd.c:(.text+0xe12): undefined reference to `pthread_create' userfaultfd.c:(.text+0xe54): undefined reference to `pthread_create' userfaultfd.c:(.text+0xe9b): undefined reference to `pthread_join' userfaultfd.c:(.text+0xf7a): undefined reference to `pthread_join' userfaultfd.c:(.text+0xf9c): undefined reference to `pthread_cancel' userfaultfd.c:(.text+0xfc3): undefined reference to `pthread_join' userfaultfd.c:(.text+0x1011): undefined reference to `pthread_join' /tmp/ccdORx6g.o: In function `userfaultfd_events_test': userfaultfd.c:(.text+0x1833): undefined reference to `pthread_create' userfaultfd.c:(.text+0x190f): undefined reference to `pthread_join' /tmp/ccdORx6g.o: In function `userfaultfd_stress': userfaultfd.c:(.text+0x1c36): undefined reference to `pthread_attr_setstacksize' collect2: error: ld returned 1 exit status make: *** [/tmp//userfaultfd] Error 1 As far as I could tell, the failure is caused by the latest changes in the linux-kselftest tree. I'm using GNU Make 3.81 and gcc 4.8.4-2ubuntu1~14.04.3 -- Sincerely yours, Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html