* [PATCH RT] - trivial branch in scheduler.
@ 2007-08-24 8:19 Sven-Thorsten Dietrich
2007-08-24 8:32 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Sven-Thorsten Dietrich @ 2007-08-24 8:19 UTC (permalink / raw)
To: Ingo Molnar; +Cc: RT Users List, LKML, Peter Williams
Hi Ingo,
the trivial code is in various RT patches as well as in 2.6.23-rc git's
scheduler.
Thanks
Sven
Remove trivial conditional branch in Linux RT CFS
scheduler's can_migrate_task function.
signed-off-by: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
Index: linux-2.6.22/kernel/sched.c
===================================================================
--- linux-2.6.22.orig/kernel/sched.c
+++ linux-2.6.22/kernel/sched.c
@@ -2603,12 +2603,6 @@ int can_migrate_task(struct task_struct
if (task_running(rq, p))
return 0;
- /*
- * Aggressive migration if too many balance attempts have failed:
- */
- if (sd->nr_balance_failed > sd->cache_nice_tries)
- return 1;
-
return 1;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH RT] - trivial branch in scheduler.
2007-08-24 8:19 [PATCH RT] - trivial branch in scheduler Sven-Thorsten Dietrich
@ 2007-08-24 8:32 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2007-08-24 8:32 UTC (permalink / raw)
To: Sven-Thorsten Dietrich; +Cc: RT Users List, LKML, Peter Williams
* Sven-Thorsten Dietrich <sven@thebigcorporation.com> wrote:
>
> Hi Ingo,
>
> the trivial code is in various RT patches as well as in 2.6.23-rc git's
> scheduler.
>
> Thanks
>
> Sven
>
> Remove trivial conditional branch in Linux RT CFS
> scheduler's can_migrate_task function.
>
> signed-off-by: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
thanks, applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-24 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-24 8:19 [PATCH RT] - trivial branch in scheduler Sven-Thorsten Dietrich
2007-08-24 8:32 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox