From ea716a9976a8fb0f12359c892b831a9bcf52b341 Mon Sep 17 00:00:00 2001 From: AprilNEA Date: Wed, 15 Jul 2026 14:37:45 +0800 Subject: [PATCH] feat(config): enable PSI for guest memory pressure signals The ArcBox idle-balloon controller watches in-guest memory pressure via the agent (arcbox PR #390). Today the agent samples MemAvailable and workingset refault rates; with CONFIG_PSI the kernel exposes /proc/pressure/{memory,cpu,io} and event triggers, letting the agent upgrade to stall-based detection without contract changes. Enabled on both architectures. PSI accounting overhead is negligible for VM workloads (ChromeOS/Android ship it enabled); no PSI_DEFAULT_DISABLED so it works without cmdline changes. --- configs/arcbox-arm64.config | 4 ++++ configs/arcbox-x86_64.config | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/configs/arcbox-arm64.config b/configs/arcbox-arm64.config index 8c64ff5..2169fcc 100644 --- a/configs/arcbox-arm64.config +++ b/configs/arcbox-arm64.config @@ -22,6 +22,10 @@ CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_AIO=y CONFIG_NO_HZ_IDLE=y +# Pressure stall information: in-guest memory/CPU/IO pressure signals. +# The ArcBox agent's balloon pressure watch upgrades from meminfo/refault +# sampling to PSI triggers when /proc/pressure is present. +CONFIG_PSI=y CONFIG_HIGH_RES_TIMERS=y CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y diff --git a/configs/arcbox-x86_64.config b/configs/arcbox-x86_64.config index 4c503d5..a3f6326 100644 --- a/configs/arcbox-x86_64.config +++ b/configs/arcbox-x86_64.config @@ -20,6 +20,10 @@ CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_AIO=y CONFIG_NO_HZ_IDLE=y +# Pressure stall information: in-guest memory/CPU/IO pressure signals. +# The ArcBox agent's balloon pressure watch upgrades from meminfo/refault +# sampling to PSI triggers when /proc/pressure is present. +CONFIG_PSI=y CONFIG_HIGH_RES_TIMERS=y CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y