kernel: enable pressure interface
authorJohn Audia <therealgraysky@proton.me>
Sun, 29 Oct 2023 08:32:21 +0000 (04:32 -0400)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:49:35 +0000 (18:49 +0000)
commit9e73f794adc8fae59c8ff45aed2d99e4b43cc2d5
tree6eca5398d615e6050c1dcfce2d78f7287116f844
parentc312295b5682295915109300c953c277d3fd420c
kernel: enable pressure interface

PSI provides a canonical way to see resource pressure increases as
they develop, with pressure metrics for three major resources:
memory, CPU, and IO. PSI stats are like barometers that provide
fair warning of impending resource shortages, enabling users to
take more proactive, granular, and nuanced steps when resources
start becoming scarce.

References:
* https://www.kernel.org/doc/html/latest/accounting/psi.html
* https://lwn.net/Articles/759781/

Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000
Run-tested: x86/64/AMD Cezanne, flogic/glinet_gl-mt6000

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/13819
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit eed39d45c2ff901b5327c7ab63c9131166e3140e)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
config/Config-kernel.in
target/linux/generic/config-6.6