Searched refs:khugepaged (Results 1 – 13 of 13) sorted by relevance
/linux/tools/testing/selftests/mm/ |
H A D | thp_settings.c | 215 settings->khugepaged = (struct khugepaged_settings) { in thp_read_settings() 254 struct khugepaged_settings *khugepaged = &settings->khugepaged; in thp_write_settings() local 267 thp_write_num("khugepaged/defrag", khugepaged->defrag); in thp_write_settings() 269 khugepaged->alloc_sleep_millisecs); in thp_write_settings() 271 khugepaged->scan_sleep_millisecs); in thp_write_settings() 272 thp_write_num("khugepaged/max_ptes_none", khugepaged->max_ptes_none); in thp_write_settings() 273 thp_write_num("khugepaged/max_ptes_swap", khugepaged->max_ptes_swap); in thp_write_settings() 274 thp_write_num("khugepaged/max_ptes_shared", khugepaged->max_ptes_shared); in thp_write_settings() 275 thp_write_num("khugepaged/pages_to_scan", khugepaged->pages_to_scan); in thp_write_settings()
|
H A D | khugepaged.c | 684 settings.khugepaged.max_ptes_none = max_ptes_none; in collapse_max_ptes_none() 962 thp_current_settings()->khugepaged.max_ptes_shared); in collapse_fork_compound() 1178 .khugepaged = { in main() 1206 default_settings.khugepaged.max_ptes_none = hpage_pmd_nr - 1; in main() 1207 default_settings.khugepaged.max_ptes_swap = hpage_pmd_nr / 8; in main() 1208 default_settings.khugepaged.max_ptes_shared = hpage_pmd_nr / 2; in main() 1209 default_settings.khugepaged.pages_to_scan = hpage_pmd_nr * 8; in main()
|
H A D | .gitignore | 10 khugepaged
|
H A D | thp_settings.h | 59 struct khugepaged_settings khugepaged; member
|
H A D | run_vmtests.sh | 425 CATEGORY="thp" run_test ./khugepaged 427 CATEGORY="thp" run_test ./khugepaged -s 2
|
H A D | Makefile | 51 TEST_GEN_FILES += khugepaged
|
/linux/Documentation/admin-guide/mm/ |
H A D | transhuge.rst | 65 disabled, there is ``khugepaged`` daemon that scans memory and 83 is by far not mandatory and khugepaged already can take care of long 175 of khugepaged to then install the THP pages later. 215 khugepaged will be automatically started when PMD-sized THP is enabled 225 khugepaged currently only searches for opportunities to collapse to 229 khugepaged runs usually at low frequency so while one may not want to 231 should be worth invoking defrag at least in khugepaged. However it's 232 also possible to disable defrag in khugepaged by writing 0 or enable 233 defrag in khugepaged by writing 1:: 235 echo 0 >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag [all …]
|
/linux/Documentation/mm/ |
H A D | transhuge.rst | 25 automatically (with khugepaged) 95 created from under you by khugepaged (khugepaged collapse_huge_page
|
/linux/mm/ |
H A D | Makefile | 97 obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += huge_memory.o khugepaged.o
|
H A D | khugepaged.c | 2563 static int khugepaged(void *none) in khugepaged() function 2642 khugepaged_thread = kthread_run(khugepaged, NULL, in start_stop_khugepaged() 2673 return kthread_func(current) == khugepaged; in current_is_khugepaged()
|
H A D | Kconfig | 878 Allow khugepaged to put read-only file-backed pages in THP.
|
/linux/Documentation/mm/damon/ |
H A D | design.rst | 318 selection, advising ``khugepaged`` to collapse or split, or doing nothing but
|
/linux/Documentation/admin-guide/ |
H A D | cgroup-v2.rst | 1570 Amount of scanned pages by khugepaged (in an inactive LRU list) 1579 Amount of reclaimed pages by khugepaged 1647 Number of pages demoted by khugepaged.
|