sched/numa: fix set cpupid on page migration twice
Subsystems (3)
PATCH 1/2 sched/numa: fix set cpupid on page migration twice
commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over the cpupid at page migration time, there is unnecessary to set it again in migrate_misplaced_transhuge_page, this patch fix it.
--- mm/migrate.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
mm/migrate.c +0 -2
@@ -1736,8 +1736,6 @@ int migrate_misplaced_transhuge_page(struct mm_struct *mm,if (!new_page) goto out_fail; -page_cpupid_xchg_last (new_page,page_cpupid_last (page)); - isolated =numamigrate_isolate_page (pgdat, page);if (!isolated) {put_page (new_page);
Signature · 1 line
1.7.7.6
PATCH 2/2 sched/numa: drop idx field of task_numa_env struct
Drop unused idx field of task_numa_env struct.
--- kernel/sched/fair.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched/fair.c +1 -1
@@ -1037,7 +1037,7 @@ struct task_numa_env {struct numa_stats src_stats, dst_stats; -int imbalance_pct, idx; +int imbalance_pct;struct task_struct *best_task;long best_imp;
Signature · 1 line
1.7.7.6
Re: [PATCH 2/2] sched/numa: drop idx field of task_numa_env struct
Quoted 3 lines · Wanpeng Li
Drop unused idx field of
task_numa_envstruct.Signed-off-by Wanpeng Li <[email protected]>
Signature · 7 lines
All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 2/2] sched/numa: drop idx field of task_numa_env struct
In reply to Wanpeng LiQuoted 3 lines · Wanpeng Li
Drop unused idx field of
task_numa_envstruct.Signed-off-by Wanpeng Li <[email protected]>
Quoted 26 lines
--- kernel/sched/fair.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)kernel/sched/fair.c +1
-1@@ -1037,7 +1037,7 @@ struct task_numa_env {struct numa_stats src_stats, dst_stats; -int imbalance_pct, idx; +int imbalance_pct;struct task_struct *best_task;long best_imp;Signature · 7 lines
1.7.7.6 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
tip-bot for Wanpeng Li
merge bot[tip:sched/core] sched/numa: Drop idx field of task_numa_env struct
In reply to Wanpeng Lisched/numa: Drop idx field of task_numa_env struct
Commit-ID: 40ea2b42d7c44386cf81d5636d574193da2c8df2 Gitweb: http://git.kernel.org/tip/40ea2b42d7c44386cf81d5636d574193da2c8df2 Author: Wanpeng Li <[email protected]> AuthorDate: Thu, 5 Dec 2013 19:10:17 +0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 5 Dec 2013 13:38:36 +0100
sched/numa: Drop idx field of task_numa_env struct
Drop unused idx field of task_numa_env struct.
--- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
@@ -1037,7 +1037,7 @@ struct task_numa_env {struct numa_stats src_stats, dst_stats; -int imbalance_pct, idx; +int imbalance_pct;struct task_struct *best_task;long best_imp;