Back to home page

OSCL-LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:41  
charge_reserved_hugetlb.sh 17365 bytes 2025-03-06 09:18:41 2025-03-06 13:41:26  
check_config.sh 967 bytes 2025-03-06 09:18:41 2025-03-06 13:41:26  
compaction_test.c 5317 bytes 2025-03-06 09:18:41 2025-03-06 13:41:26

A test for the patch "Allow compaction of unevictable pages". With this patch we should be able to allocate at least 1/4 of RAM in huge pages. Without the patch much less is allocated.

config 174 bytes 2025-03-06 09:18:41 -  
gup_test.c 5972 bytes 2025-03-06 09:18:41 2025-03-06 13:41:26  
hmm-tests.c 48642 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

HMM stands for Heterogeneous Memory Management, it is a helper layer inside the linux kernel to help device drivers mirror a process address space in the device.

hugepage-mmap.c 2127 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

hugepage-mmap: Example of using huge page memory in a user application using the mmap system call.

hugepage-mremap.c 4862 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

hugepage-mremap: Example of remapping huge page memory in a user application using the mremap system call.

hugepage-shm.c 2580 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

hugepage-shm: Example of using huge page memory in a user application using Sys V shared memory system calls.

hugepage-vmemmap.c 3422 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

A test case of using hugepage memory in a user application using the mmap system call with MAP_HUGETLB flag.

hugetlb-madvise.c 10599 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

hugepage-madvise: Basic functional testing of madvise MADV_DONTNEED and MADV_REMOVE on hugetlb mappings.

hugetlb_reparenting_test.sh 5575 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
khugepaged.c 22413 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
ksm_tests.c 21703 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
madv_populate.c 7393 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
Makefile 5368 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
map_fixed_noreplace.c 5230 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
map_hugetlb.c 2445 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

Example of using hugepage memory in a user application using the mmap system call with MAP_HUGETLB flag.

map_populate.c 2484 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
memfd_secret.c 5891 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27  
migration.c 4176 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

The main purpose of the tests here is to exercise the migration entry code paths in the kernel.

mlock-random-test.c 6682 bytes 2025-03-06 09:18:41 2025-03-06 13:41:27

It tests the mlock/mlock2() when they are invoked on randomly memory region.

mlock2-tests.c 10376 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
mlock2.h 1065 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
mrelease_test.c 4524 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
mremap_dontunmap.c 11755 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
mremap_test.c 12289 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
on-fault-limit.c 842 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
pkey-helpers.h 5481 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
pkey-powerpc.h 3364 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
pkey-x86.h 3293 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
protection_keys.c 43446 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28 lrt -ldl -lm
run_vmtests.sh 4826 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
settings 11 bytes 2025-03-06 09:18:41 -  
soft-dirty.c 5516 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
split_huge_page_test.c 7038 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28

A test of splitting PMD THPs and PTE-mapped THPs from a specified virtual address range in a process via <debugfs>/split_huge_pages interface.

test_hmm.sh 2247 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
test_vmalloc.sh 4299 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
thuge-gen.c 6015 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28

Test selecting other page sizes for mmap/shmget.

transhuge-stress.c 2921 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28

Stress test for transparent huge pages, memory compaction and migration. Authors: Konstantin Khlebnikov <gmail.com">koct9i@gmail.com> This is free and unencumbered software released into the public domain.

userfaultfd.c 45677 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
util.h 1641 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28  
va_128TBswitch.c 6824 bytes 2025-03-06 09:18:41 2025-03-06 13:41:28

Authors: Kirill A. Shutemov <linux.intel.com">kirill.shutemov@linux.intel.com> Authors: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com">aneesh.kumar@linux.vnet.ibm.com>

va_128TBswitch.sh 1286 bytes 2025-03-06 09:18:41 2025-03-06 13:41:29  
virtual_address_range.c 3207 bytes 2025-03-06 09:18:41 2025-03-06 13:41:29  
vm_util.c 2487 bytes 2025-03-06 09:18:41 2025-03-06 13:41:29  
vm_util.h 273 bytes 2025-03-06 09:18:41 2025-03-06 13:41:29  
write_hugetlb_memory.sh 411 bytes 2025-03-06 09:18:41 2025-03-06 13:41:29  
write_to_hugetlbfs.c 4709 bytes 2025-03-06 09:18:41 2025-03-06 13:41:29

This program reserves and uses hugetlb memory, supporting a bunch of scenarios needed by the charged_reserved_hugetlb.sh test.