Re: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3,v2.6.23.8, v2.6.22.13, v2.6.21.7

From: Ingo Molnar
Date: Tue Nov 20 2007 - 07:56:21 EST



* Damien Wyart <damien.wyart@xxxxxxx> wrote:

> > As usual, any sort of feedback, bugreport, fix and suggestion is
> > more than welcome!
>
> Testing sched-cfs-v2.6.24-rc3-v24.patch on top of 2.6.24-rc3-git1
> (ignored the two "already applied" messages coming from git1 commits),
> I get a 1.00 minimum load in top, coming from the load_balance_mo
> thread staying in D-state. I get this on 2 different computers with
> similar configs, so I am attaching one of them here.

does the patch below fix that problem for you?

Ingo

Index: linux/kernel/sched.c
===================================================================
--- linux.orig/kernel/sched.c
+++ linux/kernel/sched.c
@@ -7138,7 +7138,7 @@ static int load_balance_monitor(void *un
else if (timeout < sysctl_sched_max_bal_int_shares)
timeout *= 2;

- msleep(timeout);
+ msleep_interruptible(timeout);
}

return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/