[RTEMS Project] #3826: top on SMP shows invalid priorities

RTEMS trac trac at rtems.org
Thu Dec 12 18:57:51 UTC 2019


#3826: top on SMP shows invalid priorities
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  5.1
Component:  shell        |     Version:  5
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------

Comment (by Sebastian Huber):

 The Priority_Control contains 64 bits. The least significant bit is used
 to indicate if the priority is appended or prepended to its priority
 group. This bit is removed by the _Thread_Get_unmapped_real_priority().
 The other 63 bits are defined by a particular scheduler algorithm. The
 only invariant is the lower values indicate a higher priority
 (importance).

--
Ticket URL: <http://devel.rtems.org/ticket/3826#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list