Searched refs:max_ptes_none (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | khugepaged.c | 128 unsigned int max_ptes_none; member 334 write_num("khugepaged/max_ptes_none", khugepaged->max_ptes_none); in write_settings() 407 .max_ptes_none = read_num("khugepaged/max_ptes_none"), in save_settings() 970 int max_ptes_none = hpage_pmd_nr / 2; in collapse_max_ptes_none() local 974 settings.khugepaged.max_ptes_none = max_ptes_none; in collapse_max_ptes_none() 986 ops->fault(p, 0, (hpage_pmd_nr - max_ptes_none - 1) * page_size); in collapse_max_ptes_none() 989 validate_memory(p, 0, (hpage_pmd_nr - max_ptes_none - 1) * page_size); in collapse_max_ptes_none() 992 ops->fault(p, 0, (hpage_pmd_nr - max_ptes_none) * page_size); in collapse_max_ptes_none() 996 (hpage_pmd_nr - max_ptes_none) * page_size); in collapse_max_ptes_none() 1476 default_settings.khugepaged.max_ptes_none = hpage_pmd_nr - 1; in main()
|
/openbmc/linux/mm/ |
H A D | khugepaged.c | 264 unsigned long max_ptes_none; in max_ptes_none_store() local 266 err = kstrtoul(buf, 10, &max_ptes_none); in max_ptes_none_store() 267 if (err || max_ptes_none > HPAGE_PMD_NR - 1) in max_ptes_none_store() 270 khugepaged_max_ptes_none = max_ptes_none; in max_ptes_none_store() 275 __ATTR_RW(max_ptes_none);
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | transhuge.rst | 207 ``max_ptes_none`` specifies how many extra small pages (that are 211 /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none 215 max_ptes_none can waste cpu time very little, you can
|