]> Git Repo - linux.git/commit
selftests: expanding more mlock selftest
authorSimon Guo <[email protected]>
Fri, 7 Oct 2016 23:59:52 +0000 (16:59 -0700)
committerLinus Torvalds <[email protected]>
Sat, 8 Oct 2016 01:46:28 +0000 (18:46 -0700)
commit26b4224d99615a19c002508c6e80bd3d1d783b64
tree2d8f893c4d47888dc09641a2d4b75318bd66f157
parentd5aed9c06712520a6e919dc5c0525e39d9795124
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.

Suggested-by: David Rientjes <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Simon Guo <[email protected]>
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]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
tools/testing/selftests/vm/Makefile
tools/testing/selftests/vm/mlock-intersect-test.c [deleted file]
tools/testing/selftests/vm/mlock-random-test.c [new file with mode: 0644]
This page took 0.045802 seconds and 4 git commands to generate.