Searched refs:thp_enabled (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | khugepaged.c | 26 enum thp_enabled { enum 86 enum thp_enabled thp_enabled; member 95 .thp_enabled = THP_MADVISE, 267 write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in write_settings() 303 .thp_enabled = read_string("enabled", thp_enabled_strings), in save_settings() 513 settings.thp_enabled = THP_ALWAYS; in alloc_at_fault()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | khugepaged.c | 75 enum thp_enabled { enum 135 enum thp_enabled thp_enabled; member 323 write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in write_settings() 395 .thp_enabled = read_string("enabled", thp_enabled_strings), in save_settings() 804 settings.thp_enabled = THP_NEVER; in __madvise_collapse() 912 settings.thp_enabled = THP_ALWAYS; in alloc_at_fault() 1442 .thp_enabled = THP_MADVISE, in main()
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | array.c | 400 bool thp_enabled = IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE); in task_thp_status() local 402 if (thp_enabled) in task_thp_status() 403 thp_enabled = !test_bit(MMF_DISABLE_THP, &mm->flags); in task_thp_status() 404 seq_printf(m, "THP_enabled:\t%d\n", thp_enabled); in task_thp_status()
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | array.c | 422 bool thp_enabled = IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE); in task_thp_status() local 424 if (thp_enabled) in task_thp_status() 425 thp_enabled = !test_bit(MMF_DISABLE_THP, &mm->flags); in task_thp_status() 426 seq_printf(m, "THP_enabled:\t%d\n", thp_enabled); in task_thp_status()
|
Completed in 6 milliseconds