Skip to contentSkip to conversation

selftests-expanding-more-mlock-selftest.patch removed from -mm tree

merged [email protected] 1 participant 1 message Oct 10, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: selftests: expanding more mlock selftest
has been removed from the -mm tree. Its filename was
selftests-expanding-more-mlock-selftest.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Simon Guo <[email protected]>
Subject: selftests: expanding more mlock selftest

This patch will randomly perform mlock/mlock2 on a given memory region, and verify the RLIMIT_MEMLOCK limitation works properly.

Cc Shuah Khan <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc "Kirill A. Shutemov" <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Eric B Munson <[email protected]>
Cc Simon Guo <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Alexey Klimov <[email protected]>
Cc Andrea Arcangeli <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Mike Kravetz <[email protected]>
Cc Geert Uytterhoeven <[email protected]>

---

 tools/testing/selftests/vm/Makefile               |    4 
 tools/testing/selftests/vm/mlock-intersect-test.c |   76 ---
 tools/testing/selftests/vm/mlock-random-test.c    |  293 ++++++++++++
 3 files changed, 295 insertions(+), 78 deletions(-)
tools/testing/selftests/vm/Makefile renamed from tools/testing/selftests/vm/Makefile~selftests-expanding-more-mlock-selftest +2 -2
diff -puN tools/testing/selftests/vm/Makefile~selftests-expanding-more-mlock-selftest tools/testing/selftests/vm/Makefile
@@ -10,7 +10,7 @@ BINARIES += on-fault-limit
 BINARIES += thuge-gen
 BINARIES += transhuge-stress
 BINARIES += userfaultfd
-BINARIES += mlock-intersect-test
+BINARIES += mlock-random-test
 
 all: $(BINARIES)
 %: %.c
@@ -18,7 +18,7 @@ all: $(BINARIES)
 userfaultfd: userfaultfd.c ../../../../usr/include/linux/kernel.h
 	$(CC) $(CFLAGS) -O2 -o $@ $< -lpthread
 
-mlock-intersect-test: mlock-intersect-test.c
+mlock-random-test: mlock-random-test.c
 	$(CC) $(CFLAGS) -o $@ $< -lcap
 
 ../../../../usr/include/linux/kernel.h:
tools/testing/selftests/vm/mlock-intersect-test.c deleted +0 -76

76 lines not on this page · raw message

tools/testing/selftests/vm/mlock-random-test.c new file +293 -0

293 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are