aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/test_maple_tree.c
diff options
context:
space:
mode:
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>2024-12-13 16:24:09 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-01-25 20:22:18 -0800
commit7e8c8fd3487c41690ebaf1f37218d8e191d45166 (patch)
tree7e7d191be03213955edb9e5fa4c88c7b4944c7c3 /lib/test_maple_tree.c
parentmm: unexport apply_to_existing_page_range (diff)
downloadwireguard-linux-7e8c8fd3487c41690ebaf1f37218d8e191d45166.tar.xz
wireguard-linux-7e8c8fd3487c41690ebaf1f37218d8e191d45166.zip
tools: testing: add simple __mmap_region() userland test
Introduce demonstrative, basic, __mmap_region() test upon which we can base further work upon moving forwards. This simply asserts that mappings can be made and merges occur as expected. As part of this change, fix the security_vm_enough_memory_mm() stub which was previously incorrectly implemented. Link: https://lkml.kernel.org/r/20241213162409.41498-1-lorenzo.stoakes@oracle.com Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Jann Horn <jannh@google.com> Cc: Liam R. Howlett <Liam.Howlett@Oracle.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_maple_tree.c')
0 files changed, 0 insertions, 0 deletions