Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dprctl_thp_disable.c20 #ifndef PR_THP_DISABLE_EXCEPT_ADVISED
21 #define PR_THP_DISABLE_EXCEPT_ADVISED (1 << 1) macro
248 if (prctl(PR_SET_THP_DISABLE, 1, PR_THP_DISABLE_EXCEPT_ADVISED, NULL, NULL)) in FIXTURE_SETUP()
/linux/include/uapi/linux/
H A Dprctl.h190 # define PR_THP_DISABLE_EXCEPT_ADVISED (1 << 1) macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dprctl.h190 # define PR_THP_DISABLE_EXCEPT_ADVISED (1 << 1) macro
/linux/kernel/
H A Dsys.c2485 return 1 | PR_THP_DISABLE_EXCEPT_ADVISED; in prctl_get_thp_disable()
2498 if ((!thp_disable && flags) || (flags & ~PR_THP_DISABLE_EXCEPT_ADVISED)) in prctl_set_thp_disable()
2503 if (flags & PR_THP_DISABLE_EXCEPT_ADVISED) { in prctl_set_thp_disable()
/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst240 prctl(PR_SET_THP_DISABLE, 1, PR_THP_DISABLE_EXCEPT_ADVISED, 0, 0):