Home
last modified time | relevance | path

Searched refs:thp_enabled (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dthp_settings.h9 enum thp_enabled { enum
37 enum thp_enabled enabled;
55 enum thp_enabled thp_enabled; member
H A Dprctl_thp_disable.c77 enum thp_enabled thp_policy) in prctl_thp_disable_completely_test()
113 enum thp_enabled thp_policy; in FIXTURE_VARIANT()
145 self->settings.thp_enabled = variant->thp_policy; in FIXTURE_SETUP()
184 enum thp_enabled thp_policy) in prctl_thp_disable_except_madvise_test()
221 enum thp_enabled thp_policy; in FIXTURE_VARIANT()
253 self->settings.thp_enabled = variant->thp_policy; in FIXTURE_SETUP()
H A Dthp_settings.c209 .thp_enabled = thp_read_string("enabled", thp_enabled_strings), in thp_read_settings()
261 thp_write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in thp_write_settings()
H A Dkhugepaged.c508 settings.thp_enabled = THP_NEVER; in __madvise_collapse()
619 settings.thp_enabled = THP_ALWAYS; in alloc_at_fault()
1172 .thp_enabled = THP_MADVISE, in main()
/linux/fs/proc/
H A Darray.c420 bool thp_enabled = IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE); in task_thp_status() local
422 if (thp_enabled) in task_thp_status()
423 thp_enabled = !mm_flags_test(MMF_DISABLE_THP_COMPLETELY, mm); in task_thp_status()
424 seq_printf(m, "THP_enabled:\t%d\n", thp_enabled); in task_thp_status()