[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[rtl] one or two bugs found
Hi,
I thought it would be good to report one or two bugs (one could be a
feature), while I am trying to patch the RM scheduler to better
support my (networking) application.
1. In <asm/rt_time.h>, RT_BIGGEST_PERIOD was set to 1000000 ticks,
which is about 0.83 seconds. If you have a RT task with a longer
period, it is never run under the RM scheduler. I modified this
value to 10 * RT_TICKS_PER_SEC (i.e., 10 seconds) and tested it.
2. The weird bash problem caused by turning off the debugging in the
RM scheduler is probably due to the statement "now = rt_get_time()"
placed within "#ifdef DEBUG ... #endif", but there is a reference
to "now" outside of any #ifdef (when promoting RT tasks from
delayed to ready). I am yet to check whether moving the assignment
to "now" before the #ifdef fixes the bug.
Aleks
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/