Re: [git pull] scheduler fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Luiz Fernando N. Capitulino
Date: Tuesday, December 4, 2007 - 9:40 am

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

| 
| * Ingo Molnar <mingo@elte.hu> 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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.24-rc4, Linus Torvalds, (Mon Dec 3, 10:08 pm)
[build failure] Re: Linux 2.6.24-rc4 on S390x, Kamalesh Babulal, (Tue Dec 4, 3:23 am)
Re: [build failure] Re: Linux 2.6.24-rc4 on S390x, Martin Schwidefsky, (Tue Dec 4, 3:31 am)
Re: [build failure] Re: Linux 2.6.24-rc4 on S390x, Ingo Molnar, (Tue Dec 4, 3:32 am)
Re: Linux 2.6.24-rc4, Nicolas Pitre, (Tue Dec 4, 6:22 am)
[local DoS] Re: Linux 2.6.24-rc4, Luiz Fernando N. Cap ..., (Tue Dec 4, 7:07 am)
Re: [local DoS] Re: Linux 2.6.24-rc4, Linus Torvalds, (Tue Dec 4, 8:56 am)
Re: Linux 2.6.24-rc4, Jeff Garzik, (Tue Dec 4, 9:04 am)
Re: [local DoS] Re: Linux 2.6.24-rc4, Luiz Fernando N. Cap ..., (Tue Dec 4, 9:04 am)
Re: [local DoS] Re: Linux 2.6.24-rc4, Ingo Molnar, (Tue Dec 4, 9:08 am)
[git pull] scheduler fixes, Ingo Molnar, (Tue Dec 4, 9:18 am)
Re: [git pull] scheduler fixes, Luiz Fernando N. Cap ..., (Tue Dec 4, 9:40 am)
Re: [git pull] scheduler fixes, Greg KH, (Tue Dec 4, 11:28 am)
Re: [git pull] scheduler fixes, Luiz Fernando N. Cap ..., (Tue Dec 4, 11:41 am)
Re: Linux 2.6.24-rc4, Diego Calleja, (Tue Dec 4, 5:23 pm)