From: Gunter Fritz <gunter_fritz@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: dynsched bug
Date: Wed, 08 Mar 2006 21:14:19 +0100 [thread overview]
Message-ID: <1141848859.4446.12.camel@linux.site> (raw)
hey
there is a bug in the dynsched patch.
(http://sourceforge.net/projects/dynsched) the recalculation of the nice
prio must be done before the new scheduler activate the running tasks.
if you had download it, change scheduler_switch in sched.c like
following:
//add the running processes to the new rq
for_each_process(p){
nice = sched_drvp->prio_to_nice(p);
p->static_prio = data->new_scheduler->nice_to_prio(nice);
p->prio = p->static_prio;
if(p->state == TASK_RUNNING){
data->new_scheduler->activate_task(p,rq, 1);
count_rq_processes++;
}
}
reply other threads:[~2006-03-08 19:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1141848859.4446.12.camel@linux.site \
--to=gunter_fritz@gmx.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox