sched: Introduce affinity_context
authorWaiman Long <longman@redhat.com>
Thu, 22 Sep 2022 18:00:40 +0000 (14:00 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 27 Oct 2022 09:01:21 +0000 (11:01 +0200)
commit713a2e21a5137e96d2594f53d19784ffde3ddbd0
treeda175aeff51583ffdda101ef2db793cc1341d3be
parent5584e8ac2c68280e5ac31d231c23cdb7dfa225db
sched: Introduce affinity_context

In order to prepare for passing through additional data through the
affinity call-chains, convert the mask and flags argument into a
structure.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220922180041.1768141-5-longman@redhat.com
kernel/sched/core.c
kernel/sched/deadline.c
kernel/sched/sched.h