]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: vm: bring common functions to a new file
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Fri, 29 Apr 2022 06:16:11 +0000 (23:16 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:16:11 +0000 (23:16 -0700)
commit642bc52aed9c99e8c9c9cfb6781f77719717a36c
tree76b34f5c1fa976bf42f99ba75d1e21103ef01f81
parent62e80f2b5072ed80a41fc6a272e44e8e17fdcf66
selftests: vm: bring common functions to a new file

Bring common functions to a new file while keeping code as much same as
possible.  These functions can be used in the new tests.  This helps in
avoiding code duplication.

Link: https://lkml.kernel.org/r/20220420084036.4101604-1-usama.anjum@collabora.com
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Gabriel Krisman Bertazi <krisman@collabora.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/vm/Makefile
tools/testing/selftests/vm/madv_populate.c
tools/testing/selftests/vm/split_huge_page_test.c
tools/testing/selftests/vm/vm_util.c [new file with mode: 0644]
tools/testing/selftests/vm/vm_util.h [new file with mode: 0644]