Hi,
question related to other e-mail. Looking at how tickless is handled when 
SCHED_TICKLESS_ALARM is not defined it seems strange that not specifying 
maximum is even possible as it cannot be expected that up_timer_start() will 
succeed for arbitrarily long timeouts. In fact, up_timer_start() may fail due 
to the underlying timer reporting an error in this case, but this error is only 
logged to console and not really handled. On the other hand, if 
SCHED_TICKLESS_ALARM I see no reason why sleep should be limited since it is 
specified in absolute value in the future. So it seems to me that 
CONFIG_SCHED_TICKLESS_LIMIT_MAX_SLEEP should not be an option but instead the 
limit be mandatory, and only for when SCHED_TICKLESS_ALARM is not defined.

Am I thinking this right?

Best,
Matias

Reply via email to