[Bug 2069] [CBS Scheduler] Memory leak and enqueue problem

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jun 19 13:43:57 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2069

--- Comment #9 from Andreas Heinig <andreas.heinig at cs.tu-dortmund.de> 2012-06-19 08:43:57 CDT ---
> For "Priority fix - dirty hack !!" the problem is that the
> SCHEDULER_EDF_PRIO_MSB bit is applied to background tasks, and gets propagated
> into the_thread->current_priority and used by threadq code. This hack is "fine"
> since it will only look at the lower 16 bits which is exactly the supported
> number of priorities in the standard priority scheduling (256 priority levels).

I am wondering about "lower 16 bits"? Does RTEMS not use 256 priority levels,
which results in 8 bits? Therefore, I masked out the upper 24 bits not the
upper 16 bits.
So what shall I use now? - The lower 8 or 16 bits.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list