]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update to D25266, bin/ps: Make the rtprio option actually show
authorKirk McKusick <mckusick@FreeBSD.org>
Tue, 14 Jul 2020 18:57:31 +0000 (18:57 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Tue, 14 Jul 2020 18:57:31 +0000 (18:57 +0000)
commit4a022f0e0697bcfe84f02eaf9d5cf193e01feec0
treec166446fa0cae3a16f85f687c804ea439729e01d
parenta7f1b0cac972c5eba2e9602835e065b647f8a01f
Update to D25266, bin/ps: Make the rtprio option actually show
realtime priorities

The current `ps -axO rtprio' show threads running at interrupt
priority such as the [intr] thread as '1:48' and threads running
at kernel priority such as [pagedaemon] as normal:4294967260.

This change shows [intr] as intr:48 and [pagedaemon] as kernel:4.

Reviewed by:    kib
MFC after: 1 week (together with -r362369)
Differential Revision: https://reviews.freebsd.org/D25660
bin/ps/print.c
sys/sys/rtprio.h