Re: [git pull] scheduler fixes

From: Luiz Fernando N. Capitulino
Date: Tue Dec 04 2007 - 11:42:25 EST


Em Tue, 4 Dec 2007 17:18:27 +0100
Ingo Molnar <mingo@xxxxxxx> escreveu:

|
| * Ingo Molnar <mingo@xxxxxxx> wrote:
|
| > The problem is on SMP: if sched_rr_get_interval() gets a task from an
| > otherwise idle runqueue, then rq->load.weight is 0. Normally
| > sched_slice() is only used on a busy runqueue. So the correct fixup
| > site is not in sched_slice() but in sys_sched_rr_get_interval() - i'm
| > working on the right fix, i hope to be able to send a pull request in
| > a few minutes.
|
| the problem is on UP too - if there are no SCHED_OTHER tasks. I've
| tested the fix and it solves the problem for various combinations of
| crash.c. I've updated sched.git, please pull it from:
|
| git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched.git
|
| It has another commit besides this fix. Thanks,

Yes, I tested the 'sched: fix crash in sys_sched_rr_get_interval()'
one and it really fixes the problem.

Thanks a lot Ingo.

--
Luiz Fernando N. Capitulino
--
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/