summaryrefslogtreecommitdiff
path: root/lib/test_maple_tree.c
diff options
context:
space:
mode:
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>2024-12-13 19:24:09 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-01-26 07:22:18 +0300
commit7e8c8fd3487c41690ebaf1f37218d8e191d45166 (patch)
tree7e7d191be03213955edb9e5fa4c88c7b4944c7c3 /lib/test_maple_tree.c
parentec838c7da584529bb74c8123fcea6f5f122b2128 (diff)
downloadlinux-7e8c8fd3487c41690ebaf1f37218d8e191d45166.tar.xz
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