Lines Matching full:collapse
56 void (*collapse)(const char *msg, char *p, int nr_hpages, member
608 * The latter is ineligible for collapse by MADV_COLLAPSE in alloc_hpage()
670 printf("Creating %s for collapse%s...", finfo.path, in file_setup_area()
687 printf("Opening %s read only for collapse...", finfo.path); in file_setup_area()
739 finfo.fd = memfd_create("khugepaged-selftest-collapse-shmem", 0); in shmem_setup_area()
891 .collapse = &khugepaged_collapse,
897 .collapse = &madvise_collapse,
942 c->collapse("Collapse multiple fully populated PTE table", p, nr_hpages, in collapse_full()
953 c->collapse("Do not collapse empty PTE table", p, 1, ops, false); in collapse_empty()
963 c->collapse("Collapse PTE table with single PTE entry present", p, in collapse_single_pte_entry()
987 c->collapse("Maybe collapse with max_ptes_none exceeded", p, 1, in collapse_max_ptes_none()
993 c->collapse("Collapse with max_ptes_none PTEs empty", p, 1, ops, in collapse_max_ptes_none()
1022 c->collapse("Collapse with swapping in single PTE entry", p, 1, ops, in collapse_swapin_single_pte()
1049 c->collapse("Maybe collapse with max_ptes_swap exceeded", p, 1, ops, in collapse_max_ptes_swap()
1068 c->collapse("Collapse with max_ptes_swap pages swapped out", p, in collapse_max_ptes_swap()
1097 c->collapse("Collapse PTE table with single PTE mapping compound page", in collapse_single_pte_entry_compound()
1117 c->collapse("Collapse PTE table full of compound pages", p, 1, ops, in collapse_full_of_compound()
1169 c->collapse("Collapse PTE table full of different compound pages", p, 1, in collapse_compound_extreme()
1202 c->collapse("Collapse PTE table with single page shared with parent process", in collapse_fork()
1249 c->collapse("Collapse PTE table full of compound pages in child", in collapse_fork_compound()
1297 c->collapse("Maybe collapse with max_ptes_shared exceeded", p, in collapse_max_ptes_shared()
1310 c->collapse("Collapse with max_ptes_shared PTEs shared", in collapse_max_ptes_shared()
1338 c->collapse("Collapse fully populated PTE table...", p, 1, ops, true); in madvise_collapse_existing_thps()
1341 /* c->collapse() will find a hugepage and complain - call directly. */ in madvise_collapse_existing_thps()
1342 __madvise_collapse("Re-collapse PMD-mapped hugepage", p, 1, ops, true); in madvise_collapse_existing_thps()
1361 /* Let khugepaged collapse and leave pmd cleared */ in madvise_retracted_page_tables()
1362 if (wait_for_scan("Collapse and leave PMD cleared", p, nr_hpages, in madvise_retracted_page_tables()
1368 c->collapse("Install huge PMD from page cache", p, nr_hpages, ops, in madvise_retracted_page_tables()
1452 * When testing file-backed memory, the collapse path in main()