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

RTEMS trac trac at rtems.org
Thu Dec 12 17:57:14 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 Chris Johns):

 The code is
 https://git.rtems.org/rtems/tree/cpukit/libmisc/cpuuse/cpuusagetop.c#n451.

 It seems _Thread_Get_unmapped_real_priority` is not clearing the new extra
 bits used in the priority.

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


More information about the bugs mailing list