Home
last modified time | relevance | path

Searched refs:smaps (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/tools/testing/selftests/mm/
H A Dmlock2-tests.c63 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 …]
H A Dmlock-random-test.c86 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.15/Documentation/ABI/testing/
H A Dprocfs-smaps_rollup6 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.15/fs/proc/
H A DKconfig108 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
/linux-6.15/Documentation/filesystems/
H A Dproc.rst154 clear_refs Clears page referenced bits shown in smaps output
171 smaps An extension based on maps, showing the memory consumption of
173 smaps_rollup Accumulated smaps stats for all mappings of the process. This
174 can be derived from smaps, but is faster and more convenient
244 snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table.
466 The /proc/PID/smaps is an extension based on maps, showing the memory
633 life of the smaps/maps walk, there will be some output for it.
635 The /proc/PID/smaps_rollup file includes the same fields as /proc/PID/smaps,
644 described for smaps above. These fields are omitted in smaps since each
646 Thus all information in smaps_rollup can be derived from smaps, but at a
[all …]
/linux-6.15/mm/
H A Dhuge_memory.c106 bool smaps = tva_flags & TVA_SMAPS; in __thp_vma_allowable_orders() local
138 if (!in_pf && !smaps && (vm_flags & VM_NO_KHUGEPAGED)) in __thp_vma_allowable_orders()
187 if (((in_pf || smaps)) && vma->vm_ops->huge_fault) in __thp_vma_allowable_orders()
190 if (((!in_pf || smaps)) && file_thp_enabled(vma)) in __thp_vma_allowable_orders()
206 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()
H A DKconfig1227 names can be later retrieved from /proc/pid/maps and /proc/pid/smaps
/linux-6.15/Documentation/admin-guide/mm/
H A Dtranshuge.rst461 pages, it is necessary to read ``/proc/PID/smaps`` and count the AnonHugePages
469 is necessary to read ``/proc/PID/smaps`` and count the FilePmdMapped fields
472 Note that reading the smaps file is expensive and reading it
/linux-6.15/Documentation/arch/arm64/
H A Dgcs.rst227 /proc/<pid>/smaps.