]> git.baikalelectronics.ru Git - kernel.git/commit
mm/hmm/test: add selftests for HMM
authorRalph Campbell <rcampbell@nvidia.com>
Wed, 22 Apr 2020 19:50:27 +0000 (12:50 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 May 2020 19:48:31 +0000 (16:48 -0300)
commit06ec4ad631510ae71b0f9651b0ff34e28cf5d934
treeaefa0797ab701e1ab486445584fa598120078091
parente956d1e0828ce47bdfe6cdbd5fed6077b70b20f0
mm/hmm/test: add selftests for HMM

Add some basic stand alone self tests for HMM.
The test program and shell scripts use the test_hmm.ko driver to exercise
HMM functionality in the kernel.

Link: https://lore.kernel.org/r/20200422195028.3684-3-rcampbell@nvidia.com
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
tools/testing/selftests/vm/.gitignore
tools/testing/selftests/vm/Makefile
tools/testing/selftests/vm/config
tools/testing/selftests/vm/hmm-tests.c [new file with mode: 0644]
tools/testing/selftests/vm/run_vmtests
tools/testing/selftests/vm/test_hmm.sh [new file with mode: 0755]