| /linux/tools/testing/selftests/mm/ |
| H A D | khugepaged.c | 67 void (*collapse)(const char *msg, char *p, int nr_hpages, member 275 * The latter is ineligible for collapse by MADV_COLLAPSE in alloc_hpage() 332 ksft_print_msg("Creating %s for collapse%s...", finfo.path, in file_setup_area_common() 358 ksft_print_msg("Opening %s %s for collapse...", finfo.path, in file_setup_area_common() 439 finfo.fd = memfd_create("khugepaged-selftest-collapse-shmem", 0); in shmem_setup_area() 525 * read&write file collapse succeeds for MADV_COLLAPSE because dirty in __madvise_collapse() 526 * folios are written back after collapse fails for dirty folios and in __madvise_collapse() 527 * another collapse is attempted. in __madvise_collapse() 596 * read&write file collapse fails since khugepaged does not flush in khugepaged_collapse() 632 /* Set mTHP setting for mTHP collapse */ in mthp_khugepaged_collapse() [all …]
|
| H A D | cow.c | 1308 /* Collapse before actually COW-sharing the page. */ in do_test_anon_thp_collapse() 1374 * able to actually collapse. in do_test_anon_thp_collapse() 1386 /* Collapse before anyone modified the COW-shared page. */ in do_test_anon_thp_collapse() 1458 * collapse") might easily get COW handling wrong when not collapsing 1465 /* Basic COW test, but collapse after COW-sharing a full THP. */ 1471 * Basic COW test, but collapse after COW-sharing the lower half of a 1479 * Basic COW test, but collapse after COW-sharing the upper half of a
|
| /linux/mm/ |
| H A D | khugepaged.c | 88 * default collapse hugepages if there is at least one pte mapped like 92 * Note that these are only respected if collapse was initiated by khugepaged. 249 * max_ptes_none controls if khugepaged should collapse hugepages over 360 * the shared zeropage for the given collapse operation. 361 * @cc: The collapse control struct 365 * Return: Maximum number of empty/shared zeropage PTEs for the collapse operation 377 /* for PMD collapse, respect the user defined maximum */ in collapse_max_ptes_none() 381 * for mTHP collapse with the sysctl value set to KHUGEPAGED_MAX_PTES_LIMIT, in collapse_max_ptes_none() 382 * scale the maximum number of PTEs to the order of the collapse. in collapse_max_ptes_none() 387 * For mTHP collapse of values other than 0 or KHUGEPAGED_MAX_PTES_LIMIT, in collapse_max_ptes_none() [all …]
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 213 All THPs at fault and collapse time will be added to _deferred_list, 269 khugepaged currently only searches for opportunities to collapse file/shmem 270 to PMD-sized THP. Only anonymous memory will attempt to collapse to other THP 305 Per-order mTHP collapse statistics are also available under 319 For PMD-sized THP collapse, this directly limits the number of empty pages 322 For mTHP collapse, only 0 or (HPAGE_PMD_NR - 1) are supported. At 323 HPAGE_PMD_NR - 1, we collapse to the highest possible order. Any intermediate 324 value will emit a warning and mTHP collapse will default to max_ptes_none=0. 342 that THP is shared. Exceeding the number would block the collapse:: 349 For mTHP collapse, khugepaged does not support collapsing regions that [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kcsan-collapse.sh | 4 # If this was a KCSAN run, collapse the reports in the various console.log 7 # Usage: kcsan-collapse.sh resultsdir
|
| H A D | kvm-end-run-stats.sh | 34 kcsan-collapse.sh "$rundir" | tee -a "$rundir/log"
|
| /linux/include/uapi/linux/ |
| H A D | falloc.h | 26 * 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 D | assoc_array.c | 1042 * Subtree collapse to node iterator. 1047 struct assoc_array_delete_collapse_context *collapse = iterator_data; in assoc_array_delete_collapse_iterator() local 1049 if (leaf == collapse->skip_leaf) in assoc_array_delete_collapse_iterator() 1052 BUG_ON(collapse->slot >= ASSOC_ARRAY_FAN_OUT); in assoc_array_delete_collapse_iterator() 1054 collapse->node->slots[collapse->slot++] = assoc_array_leaf_to_ptr(leaf); in assoc_array_delete_collapse_iterator() 1081 struct assoc_array_delete_collapse_context collapse; in assoc_array_delete() local 1150 * leaves in it, then attempt to collapse it - and attempt to in assoc_array_delete() 1151 * recursively collapse up the tree. in assoc_array_delete() 1153 * We could also try and collapse in partially filled subtrees to take in assoc_array_delete() 1176 /* Look further up the tree to see if we can collapse this node in assoc_array_delete() [all …]
|
| /linux/drivers/clk/qcom/ |
| H A D | gdsc.h | 22 * @collapse_ctrl: APCS collapse-vote register 23 * @collapse_mask: APCS collapse-vote mask
|
| /linux/tools/testing/selftests/net/ |
| H A D | nat6to4.bpf.c | 115 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 D | ilist.py | 210 Binding(key="c", action="collapse", description="Collapse", 211 tooltip="Collapse the current PMU"), 334 """Collapse the part of the tree currently on."""
|
| /linux/drivers/net/ipa/ |
| H A D | ipa_power.h | 28 * ipa_power_retention() - Control register retention on power collapse
|
| /linux/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,rpm-master-stats.yaml | 17 and total system-wide power collapse) are first made at Master-level, and
|
| /linux/Documentation/sphinx-static/ |
| H A D | theme_overrides.css | 69 * - Sequences of whitespace should collapse into a single whitespace.
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | renesas,rzn1-pinctrl.yaml | 69 These identifiers collapse the IO Multiplex Configuration Level 1
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | mman-common.h | 80 #define MADV_COLLAPSE 25 /* Synchronous hugepage collapse */
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | hfi_venus.c | 965 dev_warn(dev, "setting hw power collapse ON failed (%d)\n", in venus_sys_set_default_properties() 1506 dev_err(dev, "prepare for power collapse fail (%d)\n", ret); in venus_suspend_1xx() 1608 * Power collapse sequence for Venus 3xx and 4xx versions: in venus_suspend_3xx() 1612 * 2. Send a command to prepare for power collapse. in venus_suspend_3xx() 1624 dev_err(dev, "prepare for power collapse fail (%d)\n", ret); in venus_suspend_3xx()
|
| /linux/tools/perf/ui/ |
| H A D | hist.c | 702 .collapse = hpp__nop_cmp, \ 716 .collapse = hpp__nop_cmp, \ 729 .collapse = hpp__nop_cmp, \ 743 .collapse = hpp__nop_cmp, \
|
| /linux/drivers/soc/qcom/ |
| H A D | rpmh-internal.h | 103 * @cpus_in_pm: Number of CPUs not in idle power collapse.
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_h1_jpeg_enc.c | 93 * DO NOT collapse the below two "for" loops into one. in hantro_h1_jpeg_enc_set_qtable()
|
| H A D | rockchip_vpu2_hw_jpeg_enc.c | 119 * DO NOT collapse the below two "for" loops into one. in rockchip_vpu2_jpeg_enc_set_qtable()
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | todo.rst | 24 perhaps addition of new optional SMB3.1.1 fsctls to make collapse range
|
| /linux/tools/perf/ui/browsers/ |
| H A D | annotate-data.c | 541 "e Expand/Collapse current entry\n" in annotated_data_browser__run() 542 "E Expand/Collapse all children of the current\n" in annotated_data_browser__run()
|
| /linux/arch/x86/kernel/apic/ |
| H A D | x2apic_cluster.c | 56 /* Collapse cpus in a cluster so a single IPI per cluster is sent */ in __x2apic_send_IPI_mask()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | standard.rst | 36 Composite input may collapse standards, enumerating "PAL-B/G/H/I",
|