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

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

2016-06-07 Thread Mike Kravetz
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 ---

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

2016-06-07 Thread Mike Kravetz
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 --- tools/testing/selftests/vm/compaction_test.c |