![]() | ||||||||||
Messages in this thread |
* Michal Schmidt <xschmi00@stud.feec.vutbr.cz> wrote:
> Hi Ingo,
>
> Since the introduction of the delayed preemption feature in V0.7.47-20
> my KDE desktop has been jerky. The sound from artsd often skips. The
> mouse pointer jumps when I compile anything the background and try to
> browse the web with Firefox.
yeah.
> I think that try_to_wake_up is broken for the !sync case. We have:
>
> __activate_task(p, rq);
> if (TASK_PREEMPTS_CURR(p, rq)) {
> if (sync)
> set_tsk_need_resched_delayed(rq->curr);
> else
> resched_task(rq->curr);
> }
>
> Shouldn't we call the full activate_task(...) instead of
> __activate_task(...) in the !sync case?
indeed.
> The attached patch fixes seems to fix it for me. It is against
> V0.7.48-05.
thanks, applied - but this does not end all of the reschedule problems
that the latest patches have. More on that later.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| |||||||||
| Last update: 2005-06-11 07:44 [from the cache] ©2003-2008 | ||||||||||