> Should this be mirrored in third-party software like htop?

Yes.

It's a bit unfortunate that userland has to know about the shift to use (since 
the priority level itself is unsigned).  It would be nicer to just send the 
offset along, but that requires modifying 'struct kinfo_proc', which I would 
rather not do for just that (but may do once I can get back to another 
priority-related patch series which IIRC does some changes in this area).  It 
would be even simpler to just consume widened and signed report fields.

In the meantime, I can submit a patch to htop.

If people are aware of/using other process monitoring applications, please let 
me know.

Thanks and regards.

-- 
Olivier Certner

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to