Re: [PATCH 1/1] selftests/vm: 8x compaction_test speedup

2020-10-02 Thread Jayaramappa, Srilakshmi
On 10/2/20, 6:05 PM, "Andrew Morton" wrote: On Fri, 2 Oct 2020 01:06:21 -0700 John Hubbard wrote: > This patch reduces the running time for compaction_test from about 27 > sec, to 3.3 sec, which is about an 8x speedup. > > These numbers are for an Intel x86_64 system

Re: [PATCH] selftests/vm/compaction_test: fix write to restore nr_hugepages

2016-06-07 Thread Jayaramappa, Srilakshmi
On 6/7/16, 4:26 PM, "Mike Kravetz" wrote: >The write at the end of the test to restore nr_hugepages to its previous >value is failing. This is because it is trying to write the number of >bytes in the char array as opposed to the number of bytes in the string. >

Re: [PATCH] selftests/vm/compaction_test: fix write to restore nr_hugepages

2016-06-07 Thread Jayaramappa, Srilakshmi
On 6/7/16, 4:26 PM, "Mike Kravetz" wrote: >The write at the end of the test to restore nr_hugepages to its previous >value is failing. This is because it is trying to write the number of >bytes in the char array as opposed to the number of bytes in the string. > >Signed-off-by: Mike Kravetz