diff options
author | John Hubbard <jhubbard@nvidia.com> | 2023-06-06 10:16:35 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-20 02:19:02 +0300 |
commit | 56d2afff13834020b91a81220684be946a4e1ef3 (patch) | |
tree | fe0f2050170050d47f73bf4f90754641f7e7025c /include/asm-generic/pgtable_uffd.h | |
parent | 3972ea2469385777d0ebc67794f30cdb0cdbffd9 (diff) | |
download | linux-56d2afff13834020b91a81220684be946a4e1ef3.tar.xz |
selftests/mm: move certain uffd*() routines from vm_util.c to uffd-common.c
There are only three uffd*() routines that are used outside of the uffd
selftests. Leave these in vm_util.c, where they are available to any mm
selftest program:
uffd_register()
uffd_unregister()
uffd_register_with_ioctls().
A few other uffd*() routines, however, are only used by the uffd-focused
tests found in uffd-stress.c and uffd-unit-tests.c. Move those routines
into uffd-common.c.
Link: https://lkml.kernel.org/r/20230606071637.267103-10-jhubbard@nvidia.com
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: David Hildenbrand <david@redhat.com>
Tested-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/pgtable_uffd.h')
0 files changed, 0 insertions, 0 deletions