[patch] BFS 421: cleanup by removing migration_req

From: Hillf Danton
Date: Wed Jun 06 2012 - 09:15:55 EST


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.
*
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/