Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3

From: Florian Schmidt
Date: Tue Nov 16 2004 - 16:54:09 EST


On Tue, 16 Nov 2004 15:42:52 -0600
"K.R. Foley" <kr@xxxxxxxxxx> wrote:

> Just a thought. What priority are you running rtc_wakup at? If you are
> doing something like:
>
> schp.sched_priority = sched_get_priority_max(SCHED_FIFO); // which
> equates to a priority of 99
>
> Then you it is actually running at a higher priority than the rtc, and
> it won't work very well. I tend to run rtc (IRQ 8) at 99 and the
> programs accessing it at 98 which seems to work reasonably well.

yah, the default for rtc_wakeup is 91 for the read() thread and 90 for the
reporting thread. So rtc's prio is above that.

flo
-
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/