linux-xiaomi-chiron/tools/testing/selftests/vm
Dan Carpenter 9f267a17bf khugepaged: selftests: fix timeout condition in wait_for_scan()
The loop exits with "timeout" set to -1 and not to 0 so the test needs to
be fixed.

Fixes: e7b592f6caca ("khugepaged: add self test")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Zi Yan <ziy@nvidia.com>
Cc: William Kucharski <william.kucharski@oracle.com>
Cc: Yang Shi <yang.shi@linux.alibaba.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Link: http://lkml.kernel.org/r/20200605110736.GH978434@mwanda
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-10 19:14:17 -07:00
..
.gitignore
charge_reserved_hugetlb.sh
compaction_test.c
config
gup_benchmark.c
hmm-tests.c
hugepage-mmap.c
hugepage-shm.c
hugetlb_reparenting_test.sh
khugepaged.c
Makefile
map_fixed_noreplace.c
map_hugetlb.c
map_populate.c
mlock-random-test.c
mlock2-tests.c
mlock2.h
mremap_dontunmap.c
on-fault-limit.c
pkey-helpers.h
pkey-powerpc.h
pkey-x86.h
protection_keys.c
run_vmtests
test_hmm.sh
test_vmalloc.sh
thuge-gen.c
transhuge-stress.c
userfaultfd.c
va_128TBswitch.c
virtual_address_range.c
write_hugetlb_memory.sh
write_to_hugetlbfs.c