Re: [PATCH 3/6] sched: prctl() cookie manipulation for core scheduling.

2021-03-20 Thread Peter Zijlstra
On Fri, Mar 19, 2021 at 04:32:50PM -0400, Joel Fernandes (Google) wrote: > include/linux/sched.h| 7 ++ > include/linux/sched/task.h | 4 +- > include/uapi/linux/prctl.h | 7 ++ > kernel/sched/core.c | 11 +- > kernel/sched/coretag.c | 197

[PATCH 3/6] sched: prctl() cookie manipulation for core scheduling.

2021-03-19 Thread Joel Fernandes (Google)
From: chris hyser This patch provides support for setting, clearing and copying core scheduling 'task cookies' between threads (PID), processes (TGID), and process groups (PGID). The value of core scheduling isn't that tasks don't share a core, 'nosmt' can do that. The value lies in exploiting