Messages in this thread Patch in this message | | | From | Nikhil Rao <> | Subject | [PATCH v1 07/19] sched: update find_idlest_cpu() to use u64 for load | Date | Sun, 1 May 2011 18:19:05 -0700 |
| |
find_idlest_cpu() compares load across runqueues which is now using u64.
Signed-off-by: Nikhil Rao <ncrao@google.com> --- kernel/sched_fair.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 1a9340c..c08324b 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -1578,7 +1578,7 @@ find_idlest_group(struct sched_domain *sd, struct task_struct *p, static int find_idlest_cpu(struct sched_group *group, struct task_struct *p, int this_cpu) { - unsigned long load, min_load = ULONG_MAX; + u64 load, min_load = ULLONG_MAX; int idlest = -1; int i; -- 1.7.3.1
| |