lkml.org 
[lkml]   [2012]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[patch] BFS 421: cleanup by removing migration_req
From
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.
*
--

\
 
 \ /
  Last update: 2012-06-06 16:01    [W:0.088 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site