Conditional PSI check to reflect changes done in 5.13
authorrhellstrom <97554405+rhellstrom@users.noreply.github.com>
Thu, 27 Jun 2024 08:00:00 +0000 (11:00 +0300)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 1 Jul 2024 09:21:46 +0000 (11:21 +0200)
commit98b1ecc9175a8bb241292f6f441a754b6759dd97
tree54d67784692f3c23390dcd4e30d1a8ae21d7b2f8
parentc3f0f6f8bd812fee4b2ab658a5cc9ac9167d387d
Conditional PSI check to reflect changes done in 5.13

cpu.pressure 'full' is undefined for system-wide checks since 5.13 but still reported with values set to 0 for backwards compatibility. Made changes to reflect this for system-wide checks so that the conditional comparison is not made against the 0 value and instead fall back to 'some'.

https://www.kernel.org/doc/html/latest/accounting/psi.html
src/shared/condition.c