Peter Zijlstra
01c8c57d66
sched: fix a find_busiest_group buglet
...
In one of the group load balancer patches:
commit 408ed066b11cf9ee4536573b4269ee3613bd735e
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Fri Jun 27 13:41:28 2008 +0200
Subject: sched: hierarchical load vs find_busiest_group
The following change:
- if (max_load - this_load + SCHED_LOAD_SCALE_FUZZ >=
+ if (max_load - this_load + 2*busiest_load_per_task >=
busiest_load_per_task * imbn) {
made the condition always true, because imbn is [1,2].
Therefore, remove the 2*, and give the it a fair chance.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-24 12:50:59 +02:00
..
2008-10-21 15:59:21 +02:00
2008-10-21 07:49:06 -04:00
2008-10-22 09:48:06 +02:00
2008-10-14 14:27:20 +02:00
2008-10-13 09:51:42 -07:00
2008-10-23 05:12:53 -04:00
2008-10-13 09:51:42 -07:00
2008-10-20 08:52:38 -07:00
2008-10-20 08:52:34 -07:00
2008-10-20 08:52:38 -07:00
2008-10-20 13:14:06 +02:00
2008-10-20 08:52:34 -07:00
2008-10-08 11:31:02 +02:00
2008-10-20 08:52:39 -07:00
2008-10-16 11:21:30 -07:00
2008-10-23 14:30:41 +04:00
2008-10-20 13:35:07 -07:00
2008-10-22 09:48:06 +02:00
2008-10-20 08:52:34 -07:00
2008-09-11 07:17:00 -07:00
2008-10-22 09:48:06 +02:00
2008-09-14 16:25:35 +02:00
2008-10-16 11:21:32 -07:00
2008-10-20 08:52:34 -07:00
2008-10-20 15:28:50 -07:00
2008-10-06 13:50:59 -05:00
2008-10-16 12:38:34 -07:00
2008-10-16 11:21:52 -07:00
2008-10-16 11:21:31 -07:00
2008-10-20 13:35:07 -07:00
2008-10-20 13:35:07 -07:00
2008-10-14 10:38:45 +02:00
2008-10-23 12:04:37 -07:00
2008-10-14 10:34:22 +02:00
2008-10-22 10:00:25 +11:00
2008-10-23 12:09:00 -07:00
2008-09-02 19:21:38 -07:00
2008-09-02 19:21:40 -07:00
2008-09-23 13:38:44 +02:00
2008-10-22 09:48:06 +02:00
2008-10-16 15:17:40 -07:00
2008-10-16 11:21:31 -07:00
2008-10-20 08:52:39 -07:00
2008-10-03 10:41:00 +02:00
2008-10-21 15:59:53 +02:00
2008-10-20 08:52:40 -07:00
2008-10-20 12:51:53 -07:00
2008-10-16 15:17:40 -07:00
2008-09-05 21:35:13 -07:00
2008-10-10 11:17:04 +02:00
2008-10-10 04:18:57 +04:00
2008-10-24 12:48:46 +02:00
2008-10-20 14:27:43 +02:00
2008-10-22 10:01:52 +02:00
2008-10-24 12:48:46 +02:00
2008-10-23 12:04:37 -07:00
2008-10-24 12:50:59 +02:00
2008-10-20 13:35:07 -07:00
2008-10-20 13:14:06 +02:00
2008-10-16 11:21:31 -07:00
2008-10-22 10:00:26 +11:00
2008-10-16 11:21:51 -07:00
2008-10-22 09:48:06 +02:00
2008-10-23 09:37:16 -07:00
2008-09-05 21:34:57 -07:00
2008-10-20 13:14:06 +02:00
2008-10-14 10:38:23 +02:00
2008-10-16 11:21:47 -07:00
2008-10-16 11:21:31 -07:00
2008-10-22 10:00:25 +11:00