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

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jun 19 16:33:20 UTC 2012


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

--- Comment #10 from Gedare <gedare at rtems.org> 2012-06-19 11:33:20 CDT ---
(In reply to comment #9)
> > 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.

I misspoke 8 bits is correct.

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