Thread (21 messages) 21 messages, 5 authors, 2020-10-02

Re: [PATCH 1/5] kselftests: vm: Add mremap tests

From: John Hubbard <jhubbard@nvidia.com>
Date: 2020-10-01 18:36:44
Also in: linux-mm

On 10/1/20 8:46 AM, Kalesh Singh wrote:
On Thu, Oct 1, 2020 at 3:24 AM John Hubbard [off-list ref] wrote:
quoted
On 9/30/20 3:21 PM, Kalesh Singh wrote:
...
The bulk of the test time comes from setting and verifying the byte
pattern in 1GB
or larger regions for testing the HAVE_MOVE_PUD functionality. Without testing
1GB or larger regions the test takes 0.18 seconds on my x86_64 system.

One option I think would be to only validate to a certain threshold of the remap
region. We can have a flag to specify a threshold or to validate the
full size of the
remapped region. I did some initial testing with a 4MB threshold and
the total time
dropped to 0.38 seconds from 1:12 minutes (for verifying the entire
remapped region).
The 4MB threshold would cover the full region of all the tests
excluding those for the
1GB and 2GB sized regions. Let me know what you think.
That sounds beautiful.

thanks,
-- 
John Hubbard
NVIDIA

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help