Re: [PATCH] sched/psi: add cpu_prio pressure metric for high-priority task stalls

Michal Koutný <[email protected]>
Newsgroups gmane.linux.documentation,gmane.linux.kernel,gmane.linux.kernel.cgroups
Message-ID <[email protected]>
Hello.

On Tue, Aug 11, 2026 at 06:46:10PM +0800, shisiyuan <[email protected]> wrote:
> From: shisiyuan <[email protected]>
> 
> Introduce a new PSI (Pressure Stall Information) indicator that
> measures how much walltime priority-sensitive tasks spend waiting
> for CPU, exposed as /proc/pressure/cpu_prio alongside the existing
> io/memory/cpu/irq metrics.

You can "just" put the priority-sensitive tasks into a cgroup (no cpu
controller needed) and track the per-cgroup PSI values.

HTH,
Michal
signature.asc (application/pgp-signature, 265 B)
-----BEGIN PGP SIGNATURE-----

iJEEABYKADkWIQRCE24Fn/AcRjnLivR+PQLnlNv4CAUCaoMghhsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDIACgkQfj0C55Tb+AjpSwD+NKU2R01cwLlTMNBxrtTc
+P6kokVooPs1htIXqDBrC6YA/1vu0Ia8h9JHA9xofNvUo55BtiT7X1siVWbcVXPQ
WWUL
=A4KP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.