HomeDefectsLIN1023-15503
Fixed

LIN1023-15503 : fix the bug that the command "ps -em" display incorrect value of the fields "policy" and "rtprio"

Created: Oct 7, 2025    Updated: Oct 23, 2025
Resolved Date: Oct 19, 2025
Found In Version: 10.23.30.17
Fix Version: 10.23.30.19
Severity: Severe
Applicable for: Wind River Linux LTS 23
Component/s: Userspace

Description

    procps: fix ps -em can not get the correct "policy" and "rtprio"

    For migration kthread, "policy" should be "FF" for SCHED_FIFO and "rtprio"
    should be "99". But, ps -em outputs migration's "policy" is "TS" and "rtpprio"
    is "-".

    root@intel-x86-64:~# ps -em -o pid,tid,policy,pri,ni,rtprio,comm | grep "migration/0" -A 1
         19       - -     -   -      - migration/0
          -      19 TS   39   0      - -

Steps to Reproduce

1. After boot up, just run the followings ps commands:

# ps -eL -o pid,ppid,rtprio,pri,priority,ni,comm,lwp,cpuid,pcpu,policy | grep migration
# ps -em -o pid,tid,policy,pri,ni,rtprio,comm | grep -A1 migration


2. Comparing "policy" and "rtprio" these logs. 

 The correct "policy" is "FF" for SCHED_FIFO.
 The correct "rtprio" value "99" for migration kthread.

Live chat
Online