mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-16 06:18:58 +00:00
mem-agent: Add to src
mem-agent is a component designed for managing memory in Linux environments. Sub-feature memcg: Utilizes the MgLRU feature to monitor each cgroup's memory usage and periodically reclaim cold memory. Sub-feature compact: Periodically compacts memory to facilitate the kernel's free page reporting feature, enabling the release of more idle memory from guests. During memory reclamation and compaction, mem-agent monitors system pressure using Pressure Stall Information (PSI). If the system pressure becomes too high, memory reclamation or compaction will automatically stop. Fixes: #10625 Signed-off-by: Hui Zhu <teawater@antgroup.com>
This commit is contained in:
@@ -472,6 +472,7 @@ static_check_license_headers()
|
||||
--exclude="tools/packaging/qemu/default-configs/*" \
|
||||
--exclude="src/libs/protocols/protos/gogo/*.proto" \
|
||||
--exclude="src/libs/protocols/protos/google/*.proto" \
|
||||
--exclude="src/mem-agent/example/protocols/protos/google/protobuf/*.proto" \
|
||||
--exclude="src/libs/*/test/texture/*" \
|
||||
--exclude="*.dic" \
|
||||
-EL $extra_args "\<${pattern}\>" \
|
||||
|
Reference in New Issue
Block a user