18 Nis 2007 Çar tarihinde, Christoph Pfister şunları yazmıştı: > Replacing the sched_yield in demux.c with an usleep(10) stopped those > seeking hangs here (at least I was able to pull the slider back and > forth during 2 mins without trouble compared to the few secs I need > earlier to get a hang). Index: linux/kernel/sched.c =================================================================== --- linux.orig/kernel/sched.c +++ linux/kernel/sched.c @@ -3785,7 +3785,7 @@ asmlinkage long sys_sched_yield(void) _raw_spin_unlock(&rq->lock); preempt_enable_no_resched(); - schedule(); + msleep(1); return 0; } which Ingo sends me to try also has the same effect on me. I cannot reproduce hangs anymore with that patch applied top of CFS while one console checks out SVN repos and other one compiles a small test software. Cheers -- S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Follow-Ups:
- Re: Kaffeine problem with CFS
- From: Ingo Molnar <[email protected]>
- Re: Kaffeine problem with CFS
- References:
- Re: Kaffeine problem with CFS
- From: "Christoph Pfister" <[email protected]>
- Re: Kaffeine problem with CFS
- From: "Christoph Pfister" <[email protected]>
- Re: Kaffeine problem with CFS
- Prev by Date: Re: [OOPS] 2.6.21-rc6-git5 in cfq_dispatch_insert
- Next by Date: [PREEMPT_RT] [PATCH] Fix BUG: using smp_processor_id() in preemptible [00000000] code: nfsd/2852
- Previous by thread: Re: Kaffeine problem with CFS
- Next by thread: Re: Kaffeine problem with CFS
- Index(es):