[Linux-hls-devel] Some questions about the schedulers...
Status: Pre-Alpha
Brought to you by:
lucabe
|
From: Luca A. <luc...@em...> - 2003-11-01 11:43:02
|
Hi all,
I am going to commit some changes that I did to implement the "rt
scheduler" (similar to the default scheduler) discussed in my previous
mail and to clean up the sources a little bit.
While working on this modifications, I found some strange things in the
code, hence I have some questions for John:
1) is HLS_MAXIMUM_PRIORITY a valid RR priority? Looking at the current
implementation of hls_sched_rr:RR_B_CallbackMsg(), it seems that it is
(there is a test "if (m->pri < 1 || m->Pri > HLS_MAXIMUM_PRIORITY)"...),
but if I try to use it, I obtain an oops... Probably I did something
wrong when porting from Windows to Linux? John, if you still have your
old Windows source, can you have a look?
2) in hls_sched_res, the Revoke Callback is implemented as an ASSERT(0).
Since in the past I broke the whole debug & assert mechanism, this
assertion was never triggered, but now that I fixed the debugging stuff
hourglass is triggering the assertion. What's the reason for having
ASSERT(0) in the Revoke Callback? Can I assume that it is just because
it still has to be implemented? In this case, I'll change it in an
hls_printk("FIXME: Implement the revoke callback...").
Ok, that's all for now... I hope to commit my changes in the next days.
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Partecipa anche tu al progetto ShopMon: la Rete che fa bene
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1953&d=1-11
|