Date: Wed, 18 Jun 2025 14:57:41 -0400 From: Olivier Certner <olce@freebsd.org> To: Jessica Clarke <jrtc27@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@freebsd.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@freebsd.org> Subject: Re: git: 1d8f8f3e36fa - main - ps(1), top(1): Priority: Let 0 be the first timesharing level Message-ID: <3265481.ZmR5Pbtf01@francois> In-Reply-To: <E1DC0222-1B43-4093-AB78-D6DD566D0C2F@freebsd.org> References: <202506180213.55I2DeDL024942@gitrepo.freebsd.org> <E1DC0222-1B43-4093-AB78-D6DD566D0C2F@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart6459324.O1aUxXEVJ6 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Olivier Certner <olce@freebsd.org> To: Jessica Clarke <jrtc27@freebsd.org> Date: Wed, 18 Jun 2025 14:57:41 -0400 Message-ID: <3265481.ZmR5Pbtf01@francois> Organization: FreeBSD In-Reply-To: <E1DC0222-1B43-4093-AB78-D6DD566D0C2F@freebsd.org> MIME-Version: 1.0 > 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 --nextPart6459324.O1aUxXEVJ6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAmhTDCUACgkQjKEwQJce Jiechg//Y3u/TJoFzyih5aK1uS3HEoDJTpFLCC1T/n9nH2GdhXUHVD6dCR+jC91E 7u89uSBuAYV5EvDTFWmF68eiwNJL3AoyRRWiQR2K+E0JE8TfiPxi2bD4L+HCHKus p4WlqkEsvPxFgR7/Td2hfkNdGY0FxG/EWvcWTjiQxRXEtNDVFkDEAFKqgbXtXbMI +ySiKm9VzkSjmDwbP9zdFEMtf+o5OB5yElvLA2b4fb/njv+VoHpoc5W1WIkyGhUR +F5/ibzRzUpBX/KEOrDZf/6JGvHk7/qC9MWos0g2DEUbtVTZmpdwCa1rtgVh+VXB k6cKPC3FDZmZuL+RK9/axIIDxy4blX00pxqkWJljtngzETESWWNhHBg2ojaExJLJ WBoMTBvl2JQZUmWp4DMEJBPT+FI4UAOdmzhgJj36k5MBF1Y3NXLyrvQSf97XX9uz txMmJ6xnT5TQvr0SLAWY6KknNVOi62eSKsTdv+UrmNgGfL8RxE3r5wN4ixfcmFaN gTp2eL2DODmbO8I3PtJQALVnqBTZuOFUhqbQWe7Hx8DzBKwRbZFTmmfrtDMnFeyY IKCaUzGctVx21ETXUTVgi8WUzIfGOUlQzYcmFWqdCHCFEzgTgZo7w3iTx966OPMC NRTgr0M8tJHoUCopop1XbTxjjCyc+S6S7zKAhW7GUh014NnhmR4= =3bZw -----END PGP SIGNATURE----- --nextPart6459324.O1aUxXEVJ6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3265481.ZmR5Pbtf01>