[PATCH 3/3] selftests: expanding more mlock selftest

2016-09-08 Thread wei . guo . simon
From: Simon Guo This patch will randomly perform mlock/mlock2 on a given memory region, and verify the RLIMIT_MEMLOCK limitation works properly. Suggested-by: David Rientjes Signed-off-by: Simon Guo ---

[PATCH 3/3] selftests: expanding more mlock selftest

2016-09-08 Thread wei . guo . simon
From: Simon Guo This patch will randomly perform mlock/mlock2 on a given memory region, and verify the RLIMIT_MEMLOCK limitation works properly. Suggested-by: David Rientjes Signed-off-by: Simon Guo --- tools/testing/selftests/vm/Makefile | 4 +-