diff options
| author | Steve Muckle <smuckle@codeaurora.org> | 2014-05-27 13:26:22 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 19:59:35 -0700 |
| commit | 53a4978f8044d16f8e5ecfe353f10cab5ab92022 (patch) | |
| tree | 8de7fef6000e0bc273befc7054e7ff28cb149f9f /include/linux | |
| parent | 2735664021d9b4b6089bd008a3ed8a0e04a5dd38 (diff) | |
sched: do not balance on exec if SCHED_HMP
Rebalancing at exec time will currently undo any beneficial placement
that has been done during fork time, since select_best_cpu() will not
discount the currently running task.
For now just skip re-evaluating task placement at exec.
Change-Id: I1e5e0fcc329b7b53c338c8c73795ebd5e85a118b
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index f9e099e741e1..f22f67de7320 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2373,7 +2373,7 @@ extern unsigned long long task_sched_runtime(struct task_struct *task); /* sched_exec is called by processes performing an exec */ -#ifdef CONFIG_SMP +#if defined(CONFIG_SMP) && !defined(CONFIG_SCHED_HMP) extern void sched_exec(void); #else #define sched_exec() {} |
