diff options
author | David Matlack <dmatlack@google.com> | 2022-05-20 23:32:42 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-09 10:52:23 -0400 |
commit | ce690e9c17d27486af879defc506679cbbb14777 (patch) | |
tree | 7978f16a6ede0fc7889c203ea5e3a37f2094f341 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | b8ca01ea19068b54938ebb4ebc06814a89dee8ea (diff) | |
download | linux-ce690e9c17d27486af879defc506679cbbb14777.tar.gz linux-ce690e9c17d27486af879defc506679cbbb14777.tar.bz2 linux-ce690e9c17d27486af879defc506679cbbb14777.zip |
KVM: selftests: Refactor nested_map() to specify target level
Refactor nested_map() to specify that it explicityl wants 4K mappings
(the existing behavior) and push the implementation down into
__nested_map(), which can be used in subsequent commits to create huge
page mappings.
No function change intended.
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220520233249.3776001-5-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions