linux-stable/tools/testing/selftests/vm
Mike Kravetz a7b50abc90 selftests/vm/compaction_test: fix write to restore nr_hugepages
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.

Link: http://lkml.kernel.org/r/1465331205-3284-1-git-send-email-mike.kravetz@oracle.com
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Sri Jayaramappa <sjayaram@akamai.com>
Cc: Eric B Munson <emunson@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-06-24 17:23:52 -07:00
..
.gitignore update .gitignore in selftests/vm 2016-01-07 13:37:41 -07:00
compaction_test.c selftests/vm/compaction_test: fix write to restore nr_hugepages 2016-06-24 17:23:52 -07:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
hugepage-mmap.c
hugepage-shm.c
Makefile selftests: vm: add tests for lock on fault 2015-11-05 19:34:48 -08:00
map_hugetlb.c mm, selftests: test return value of munmap for MAP_HUGETLB memory 2015-04-15 16:35:19 -07:00
mlock2-tests.c selftests/mlock2: add ULL suffix to 64-bit constants 2015-11-10 16:32:11 -08:00
on-fault-limit.c selftests: vm: add tests for lock on fault 2015-11-05 19:34:48 -08:00
run_vmtests linux-kselftest-4.4-rc1 2015-11-10 20:46:45 -08:00
thuge-gen.c selftests/thuge-gen: Use platform specific MAP_HUGETLB value 2016-05-22 21:43:41 +02:00
transhuge-stress.c selftests/vm/transhuge-stress: stress test for memory compaction 2014-10-09 22:26:01 -04:00
userfaultfd.c userfaultfd: selftest: don't error out if pthread_mutex_t isn't identical 2015-09-22 15:09:53 -07:00