Messages in this thread Patch in this message | | | Date | Wed, 6 Jun 2012 21:15:58 +0800 | Subject | [patch] BFS 421: cleanup by removing migration_req | From | Hillf Danton <> |
| |
Now it is harder to find lines for removal, but I am glad to clean up here and there like a chef in work.
--- a/kernel/sched/bfs.c Wed Jun 6 19:56:42 2012 +++ b/kernel/sched/bfs.c Wed Jun 6 19:58:02 2012 @@ -1125,6 +1125,7 @@ static inline void take_task(int cpu, st { #ifdef CONFIG_SCHEDSTATS #ifdef CONFIG_SMP + //do ttwu stat outside grq lock, urgent? if (p->wakeup_cpu == -1) goto skip;
@@ -1219,11 +1220,6 @@ inline int task_curr(const struct task_s }
#ifdef CONFIG_SMP -struct migration_req { - struct task_struct *task; - int dest_cpu; -}; - /* * wait_task_inactive - wait for a thread to unschedule. * --
| |