Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/mm/
A Dkhugepaged.c84 enum thp_enabled { enum
144 enum thp_enabled thp_enabled; member
332 write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in write_settings()
404 .thp_enabled = read_string("enabled", thp_enabled_strings), in save_settings()
813 settings.thp_enabled = THP_NEVER; in __madvise_collapse()
921 settings.thp_enabled = THP_ALWAYS; in alloc_at_fault()
1451 .thp_enabled = THP_MADVISE, in main()
/linux-6.3-rc2/fs/proc/
A Darray.c419 bool thp_enabled = IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE); in task_thp_status() local
421 if (thp_enabled) in task_thp_status()
422 thp_enabled = !test_bit(MMF_DISABLE_THP, &mm->flags); in task_thp_status()
423 seq_printf(m, "THP_enabled:\t%d\n", thp_enabled); in task_thp_status()

Completed in 6 milliseconds