>From d736118be20a0b4746136d199a9cca954d847e4f Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 29 Mar 2022 20:04:28 +0000 Subject: [PATCH 15/20] sys/prctl.h: add PR_SCHED_CORE_SCOPE_* from linux v5.16 macros for core-scheduling api, see linux commit 61bc346ce64a3864ac55f5d18bdc1572cda4fb18 uapi/linux/prctl: provide macro definitions for the PR_SCHED_CORE type argument --- include/sys/prctl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sys/prctl.h b/include/sys/prctl.h index d323c0a9..755d1665 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -184,6 +184,9 @@ struct prctl_mm_map { #define PR_SCHED_CORE_SHARE_TO 2 #define PR_SCHED_CORE_SHARE_FROM 3 #define PR_SCHED_CORE_MAX 4 +#define PR_SCHED_CORE_SCOPE_THREAD 0 +#define PR_SCHED_CORE_SCOPE_THREAD_GROUP 1 +#define PR_SCHED_CORE_SCOPE_PROCESS_GROUP 2 int prctl (int, ...); -- 2.35.1