Home
last modified time | relevance | path

Searched full:collapse (Results 1 – 25 of 95) sorted by relevance

1234

/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c57 void (*collapse)(const char *msg, char *p, int nr_hpages, member
312 * The latter is ineligible for collapse by MADV_COLLAPSE in alloc_hpage()
374 printf("Creating %s for collapse%s...", finfo.path, in file_setup_area()
391 printf("Opening %s read only for collapse...", finfo.path); in file_setup_area()
443 finfo.fd = memfd_create("khugepaged-selftest-collapse-shmem", 0); in shmem_setup_area()
593 .collapse = &khugepaged_collapse,
599 .collapse = &madvise_collapse,
649 c->collapse("Collapse multiple fully populated PTE table", p, nr_hpages, in collapse_full()
660 c->collapse("Do not collapse empty PTE table", p, 1, ops, false); in collapse_empty()
670 c->collapse("Collapse PTE table with single PTE entry present", p, in collapse_single_pte_entry()
[all …]
H A Dcow.c1296 /* Collapse before actually COW-sharing the page. */ in do_test_anon_thp_collapse()
1362 * able to actually collapse. in do_test_anon_thp_collapse()
1374 /* Collapse before anyone modified the COW-shared page. */ in do_test_anon_thp_collapse()
1446 * collapse") might easily get COW handling wrong when not collapsing
1453 /* Basic COW test, but collapse after COW-sharing a full THP. */
1459 * Basic COW test, but collapse after COW-sharing the lower half of a
1467 * Basic COW test, but collapse after COW-sharing the upper half of a
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkcsan-collapse.sh4 # If this was a KCSAN run, collapse the reports in the various console.log
7 # Usage: kcsan-collapse.sh resultsdir
H A Dkvm-end-run-stats.sh34 kcsan-collapse.sh "$rundir" | tee -a "$rundir/log"
/linux/include/uapi/linux/
H A Dfalloc.h26 * Attempting to collapse a range that crosses the end of the file is
28 * to collapse a range that crosses EOF.
76 * to say that it cannot be used with the punch, zero, collapse, or
/linux/lib/
H A Dassoc_array.c1043 * Subtree collapse to node iterator.
1048 struct assoc_array_delete_collapse_context *collapse = iterator_data; in assoc_array_delete_collapse_iterator() local
1050 if (leaf == collapse->skip_leaf) in assoc_array_delete_collapse_iterator()
1053 BUG_ON(collapse->slot >= ASSOC_ARRAY_FAN_OUT); in assoc_array_delete_collapse_iterator()
1055 collapse->node->slots[collapse->slot++] = assoc_array_leaf_to_ptr(leaf); in assoc_array_delete_collapse_iterator()
1082 struct assoc_array_delete_collapse_context collapse; in assoc_array_delete() local
1151 * leaves in it, then attempt to collapse it - and attempt to in assoc_array_delete()
1152 * recursively collapse up the tree. in assoc_array_delete()
1154 * We could also try and collapse in partially filled subtrees to take in assoc_array_delete()
1177 /* Look further up the tree to see if we can collapse this node in assoc_array_delete()
[all …]
/linux/mm/
H A Dkhugepaged.c81 * default collapse hugepages if there is at least one pte mapped like
85 * Note that these are only respected if collapse was initiated by khugepaged.
238 * max_ptes_none controls if khugepaged should collapse hugepages over
652 * If collapse was initiated by khugepaged, check that there is in __collapse_huge_page_isolate()
939 * collapse it. Migration success or failure will eventually end in check_pmd_state()
979 * Bring missing pages in from swap, to complete THP collapse.
1134 * that case. Continuing to collapse causes inconsistency. in collapse_huge_page()
1318 * Don't collapse the page if any of the small in hpage_collapse_scan_pmd()
1382 * But such case is ephemeral we could always retry collapse in hpage_collapse_scan_pmd()
1393 * If collapse was initiated by khugepaged, check that there is in hpage_collapse_scan_pmd()
[all …]
/linux/tools/testing/selftests/net/
H A Dnat6to4.bpf.c115 sum4 = (sum4 & 0xFFFF) + (sum4 >> 16); // collapse u32 into range 1 .. 0x1FFFE in sched_cls_ingress6_nat_6_prog()
116 sum4 = (sum4 & 0xFFFF) + (sum4 >> 16); // collapse any potential carry into u16 in sched_cls_ingress6_nat_6_prog()
189 sum4 = (sum4 & 0xFFFF) + (sum4 >> 16); // collapse u32 into range 1 .. 0x1FFFE in sched_cls_egress4_snat4_prog()
190 sum4 = (sum4 & 0xFFFF) + (sum4 >> 16); // collapse any potential carry into u16 in sched_cls_egress4_snat4_prog()
/linux/tools/perf/python/
H A Dilist.py203 Binding(key="c", action="collapse", description="Collapse",
204 tooltip="Collapse the current PMU"),
327 """Collapse the part of the tree currently on."""
/linux/fs/ext4/
H A Dextents_status.h105 * collapse range operation. Page invalidation requires a decrease in the
115 * collapse range operation. The necessary information is also present
/linux/include/linux/
H A Dhuge_mm.h100 TVA_KHUGEPAGED, /* Khugepaged collapse. */
101 TVA_FORCED_COLLAPSE, /* Forced collapse (e.g. MADV_COLLAPSE). */
296 * forced collapse ignores sysfs configs. in thp_vma_allowable_orders()
347 * Forcing a collapse (e.g., madv_collapse), is a clear advice to in vma_thp_disabled()
/linux/drivers/net/ipa/
H A Dipa_power.h28 * ipa_power_retention() - Control register retention on power collapse
/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst212 All THPs at fault and collapse time will be added to _deferred_list,
268 khugepaged currently only searches for opportunities to collapse to
269 PMD-sized THP and no attempt is made to collapse to other THP
334 that THP is shared. Exceeding the number would block the collapse::
535 a range of pages to collapse into one huge page and has
/linux/drivers/net/wireless/ath/ath11k/
H A Dpci.h22 /* register to wake the UMAC from power collapse */
/linux/arch/powerpc/mm/
H A Dpgtable.c394 * khugepaged to collapse normal pages to hugepage, first set in assert_pte_locked()
448 * value don't get updated by a parallel THP split/collapse, in __find_linux_pte()
495 * A hugepage collapse is captured by this condition, see in __find_linux_pte()
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,rpm-master-stats.yaml17 and total system-wide power collapse) are first made at Master-level, and
/linux/Documentation/sphinx-static/
H A Dtheme_overrides.css69 * - Sequences of whitespace should collapse into a single whitespace.
/linux/Documentation/devicetree/bindings/pinctrl/
H A Drenesas,rzn1-pinctrl.yaml69 These identifiers collapse the IO Multiplex Configuration Level 1
/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */
/linux/drivers/net/wireless/ath/ath12k/
H A Dpci.h22 /* register to wake the UMAC from power collapse */
/linux/tools/perf/ui/
H A Dhist.c701 .collapse = hpp__nop_cmp, \
715 .collapse = hpp__nop_cmp, \
728 .collapse = hpp__nop_cmp, \
742 .collapse = hpp__nop_cmp, \
/linux/drivers/soc/qcom/
H A Drpmh-internal.h103 * @cpus_in_pm: Number of CPUs not in idle power collapse.
/linux/drivers/media/platform/verisilicon/
H A Dhantro_h1_jpeg_enc.c93 * DO NOT collapse the below two "for" loops into one. in hantro_h1_jpeg_enc_set_qtable()
H A Drockchip_vpu2_hw_jpeg_enc.c119 * DO NOT collapse the below two "for" loops into one. in rockchip_vpu2_jpeg_enc_set_qtable()
/linux/Documentation/admin-guide/cifs/
H A Dtodo.rst24 perhaps addition of new optional SMB3.1.1 fsctls to make collapse range

1234