Re: [PATCH 4/4] selftests/vm: add test for mlock() when areas are intersected.
From: David Rientjes <rientjes@google.com>
Date: 2016-08-31 23:14:21
Also in:
lkml
From: David Rientjes <rientjes@google.com>
Date: 2016-08-31 23:14:21
Also in:
lkml
On Tue, 30 Aug 2016, wei.guo.simon@gmail.com wrote:
From: Simon Guo <redacted> This patch adds mlock() test for multiple invocation on the same address area, and verify it doesn't mess the rlimit mlock limitation.
Thanks for expanding mlock testing. I'm wondering if you are interested in more elaborate testing that doesn't only check what you are fixing, such as mlock(p + x, 40k) where x is < 20k? Would you also be willing to make sure that the rlimit is actually enforced when it's expected to? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>