Searched refs:smaps (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/tools/testing/selftests/mm/ |
D | mlock2-tests.c | 63 FILE *smaps; in is_vmflag_set() local 65 smaps = seek_to_smaps_entry(addr); in is_vmflag_set() 66 if (!smaps) { in is_vmflag_set() 71 while (getline(&line, &size, smaps) > 0) { in is_vmflag_set() 86 fclose(smaps); in is_vmflag_set() 99 FILE *smaps = NULL; in get_value_for_name() local 102 smaps = seek_to_smaps_entry(addr); in get_value_for_name() 103 if (!smaps) { in get_value_for_name() 108 while (getline(&line, &size, smaps) > 0) { in get_value_for_name() 125 if (smaps) in get_value_for_name() [all …]
|
D | mlock-random-test.c | 86 FILE *smaps; in get_proc_page_size() local 91 smaps = seek_to_smaps_entry(addr); in get_proc_page_size() 92 if (!smaps) in get_proc_page_size() 95 while (getline(&line, &size, smaps) > 0) { in get_proc_page_size() 110 if (smaps) in get_proc_page_size() 111 fclose(smaps); in get_proc_page_size()
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | procfs-smaps_rollup | 6 process. The format is almost identical to /proc/pid/smaps, 10 fields from all the maps in /proc/pid/smaps. 12 are not present in /proc/pid/smaps. These fields represent
|
/linux-6.12.1/fs/proc/ |
D | Kconfig | 89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
|
/linux-6.12.1/Documentation/filesystems/ |
D | proc.rst | 143 clear_refs Clears page referenced bits shown in smaps output 160 smaps An extension based on maps, showing the memory consumption of 162 smaps_rollup Accumulated smaps stats for all mappings of the process. This 163 can be derived from smaps, but is faster and more convenient 233 snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table. 455 The /proc/PID/smaps is an extension based on maps, showing the memory 595 Note: reading /proc/PID/maps or /proc/PID/smaps is inherently racy (consistent 605 life of the smaps/maps walk, there will be some output for it. 607 The /proc/PID/smaps_rollup file includes the same fields as /proc/PID/smaps, 616 described for smaps above. These fields are omitted in smaps since each [all …]
|
/linux-6.12.1/mm/ |
D | huge_memory.c | 92 bool smaps = tva_flags & TVA_SMAPS; in __thp_vma_allowable_orders() local 124 if (!in_pf && !smaps && (vm_flags & VM_NO_KHUGEPAGED)) in __thp_vma_allowable_orders() 173 if (((in_pf || smaps)) && vma->vm_ops->huge_fault) in __thp_vma_allowable_orders() 176 if (((!in_pf || smaps)) && file_thp_enabled(vma)) in __thp_vma_allowable_orders() 192 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()
|
D | Kconfig | 1200 names can be later retrieved from /proc/pid/maps and /proc/pid/smaps
|
/linux-6.12.1/Documentation/admin-guide/mm/ |
D | transhuge.rst | 408 pages, it is necessary to read ``/proc/PID/smaps`` and count the AnonHugePages 416 is necessary to read ``/proc/PID/smaps`` and count the FileHugeMapped fields 419 Note that reading the smaps file is expensive and reading it
|