Re: Why can't I set the priority of softirq-hrt? (Re: 2.6.17-rt1)
From: Esben Nielsen
Date: Wed Jun 21 2006 - 06:04:34 EST
On Wed, 21 Jun 2006, Steven Rostedt wrote:
On Tue, 20 Jun 2006, Esben Nielsen wrote:
I have to check, whether the priority is propagated when the softirq is
blocked on a lock. If not its a bug and has to be fixed.
I think the simplest solution would be to add
if (p->blocked_on)
wake_up_process(p);
in __setscheduler().
Except that wake_up_process calls try_to_wakeup which grabs the runqueue
lock, which unfortunately is already held when __setscheduler is called.
Yeah, I saw. Move it out in setscheduler() then. I'll try to fix it, but I
am not sure I can make a test if it works.
Esben
-- Steve
-
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/