]> 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)
commit737ecf380b84da0693e9ac22861044e0a29d7471
tree76b34f5c1fa976bf42f99ba75d1e21103ef01f81
parent1748b0ec49ffe435b9350bebcdeab61f83f3f850
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]