[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBARsg8ukY7KtK87nTXq3ZJLOw_aSNj6dMwFm339Lv4HJg@mail.gmail.com>
Date: Wed, 6 Jun 2012 21:15:58 +0800
From: Hillf Danton <dhillf@...il.com>
To: LKML <linux-kernel@...r.kernel.org>,
Hillf Danton <dhillf@...il.com>
Subject: [patch] BFS 421: cleanup by removing migration_req
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists