]> Git Repo - linux.git/commit
uapi/linux/prctl: provide macro definitions for the PR_SCHED_CORE type argument
authorEugene Syromiatnikov <[email protected]>
Wed, 25 Aug 2021 17:06:13 +0000 (19:06 +0200)
committerChristian Brauner <[email protected]>
Wed, 29 Sep 2021 11:00:05 +0000 (13:00 +0200)
commit61bc346ce64a3864ac55f5d18bdc1572cda4fb18
tree8831e8255d83b58f047a7cae374fc1ab089b68b1
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29
uapi/linux/prctl: provide macro definitions for the PR_SCHED_CORE type argument

Commit 7ac592aa35a684ff ("sched: prctl() core-scheduling interface")
made use of enum pid_type in prctl's arg4; this type and the associated
enumeration definitions are not exposed to userspace.  Christian
has suggested to provide additional macro definitions that convey
the meaning of the type argument more in alignment with its actual
usage, and this patch does exactly that.

Link: https://lore.kernel.org/r/[email protected]
Suggested-by: Christian Brauner <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Signed-off-by: Eugene Syromiatnikov <[email protected]>
Complements: 7ac592aa35a684ff ("sched: prctl() core-scheduling interface")
Signed-off-by: Christian Brauner <[email protected]>
Documentation/admin-guide/hw-vuln/core-scheduling.rst
include/uapi/linux/prctl.h
kernel/sched/core_sched.c
This page took 0.060816 seconds and 4 git commands to generate.