Searched refs:PR_SCHED_CORE (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 43 #ifndef PR_SCHED_CORE 44 #define PR_SCHED_CORE 62 macro 117 ret = prctl(PR_SCHED_CORE, PR_SCHED_CORE_GET, pid, PIDTYPE_PID, in get_cs_cookie() 286 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, 0, PIDTYPE_PGID, 0) < 0) in main() 300 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, pid, PIDTYPE_TGID, 0) < 0) in main() 310 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, pid, PIDTYPE_PID, 0) < 0) in main() 320 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_FROM, procs[pidx].thr_tids[0], in main() 329 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 0) < 0) in main() 337 validate(_prctl(PR_SCHED_CORE, PR_SCHED_CORE_MAX, 0, PIDTYPE_PGID, 0) < 0 in main() 340 validate(_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 1) < 0 in main()
|
/linux/include/uapi/linux/ |
H A D | prctl.h | 265 #define PR_SCHED_CORE 62 macro
|
/linux/tools/include/uapi/linux/ |
H A D | prctl.h | 265 #define PR_SCHED_CORE 62 macro
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | core-scheduling.rst | 40 Core scheduling can be enabled via the ``PR_SCHED_CORE`` prctl interface. 50 ``PR_SCHED_CORE``
|
/linux/kernel/ |
H A D | Kconfig.preempt | 124 prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings
|
H A D | sys.c | 2730 case PR_SCHED_CORE: in SYSCALL_DEFINE5()
|