Skip to contentSkip to conversation

selftests-add-mincore-tests.patch removed from -mm tree

merged [email protected] 1 participant 1 message Aug 10, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: selftests: add mincore() tests
has been removed from the -mm tree. Its filename was
selftests-add-mincore-tests.patch

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

------------------------------------------------------
From: Ricardo Cañuelo <[email protected]>
Subject: selftests: add mincore() tests

Add a test suite for the mincore() syscall. It tests most of its use cases as well as its interface.

Tests implemented:

- basic interface test
- behavior on anonymous mappings
- behavior on anonymous mappings with huge tlb pages
- file-backed mapping with a regular file
- file-backed mapping with a tmpfs file

---

 tools/testing/selftests/Makefile                   |    1 
 tools/testing/selftests/mincore/.gitignore         |    2 
 tools/testing/selftests/mincore/Makefile           |    6 
 tools/testing/selftests/mincore/mincore_selftest.c |  361 +++++++++++
 4 files changed, 370 insertions(+)
tools/testing/selftests/Makefile renamed from tools/testing/selftests/Makefile~selftests-add-mincore-tests +1 -0
@@ -32,6 +32,7 @@ TARGETS += lkdtm
 TARGETS += membarrier
 TARGETS += memfd
 TARGETS += memory-hotplug
+TARGETS += mincore
 TARGETS += mount
 TARGETS += mqueue
 TARGETS += net
tools/testing/selftests/mincore/.gitignore new file +2 -0
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0+
+mincore_selftest
tools/testing/selftests/mincore/Makefile new file +6 -0
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+CFLAGS += -Wall
+
+TEST_GEN_PROGS := mincore_selftest
+include ../lib.mk
tools/testing/selftests/mincore/mincore_selftest.c new file +361 -0

361 lines not on this page · raw message

_

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