sched/core: Optimize load balance of core scheduling
Status from this message: The following commit has been merged into the sched/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sched/core: Fix the bug that task won't enqueue into core tree when update cookiekernel/ | +1 | 4 replies | |
| 2/3 | sched/core: Introduce nr_running percpu for each cookiekernel/ kernel/ kernel/ | +24 | 3 replies | |
| 3/3 | sched/core: Make tasks with the same cookie pairs on SMT siblingskernel/ kernel/ | +61 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] sched/core: Optimize load balance of core scheduling
If the tasks with the same cookie are equal on SMT siblings, they can make pairs when pick next task, and forceidle can be avoided.
In order to achieve this goal, we have to count how many tasks with this cookie are in the runqueue. When counting we found a bug that task won't enqueue into core tree when we update cookie of an uncookie'd task, so we fix this bug first.
Cruz Zhao (3):
sched/core: Fix the bug that task won't enqueue into core tree when
update cookie
sched/core: Introduce nr_running percpu for each cookie sched/core: Make tasks with the same cookie pairs on SMT siblings
kernel/sched/core.c | 7 +++++ kernel/sched/core_sched.c | 18 ++++++------ kernel/sched/fair.c | 4 +-- kernel/sched/sched.h | 74 +++++++++++++++++++++++++++++++++++++++++++---- 4 files changed, 86 insertions(+), 17 deletions(-)
Signature · 1 line
1.8.3.1