Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c75 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()
/openbmc/linux/fs/proc/
H A Darray.c422 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()