Re: [PATCH -tip 23/32] sched: Add a per-thread core scheduling interface

From: Chris Hyser
Date: Wed Dec 09 2020 - 13:55:39 EST


On Sun, Dec 06, 2020 at 12:34:18PM -0500, Joel Fernandes wrote:
>
...
> Looks ok to me except the missing else { } clause you found. Also, maybe
> dest/src can be renamed to from/to to make meaning of variables more clear?
>
> Also looking forward to the docs/test updates.
>
> thanks!
>
> - Joel

I fixed the else clause, made the name changes, added the documentation and
fixed the selftests so they pass. Patch inline.

-chrish

.../admin-guide/hw-vuln/core-scheduling.rst | 98 ++++++++++++++++------
include/linux/sched.h | 4 +-
include/uapi/linux/prctl.h | 3 +
kernel/sched/coretag.c | 59 ++++++++-----
kernel/sched/debug.c | 1 +
kernel/sched/sched.h | 2 +-
kernel/sys.c | 6 +-
tools/include/uapi/linux/prctl.h | 3 +
tools/testing/selftests/sched/test_coresched.c | 14 +++-
9 files changed, 136 insertions(+), 54 deletions(-)

-- >8 --