Skip to content

Set memory.low for vminitd to avoid kernel reclaiming its memory#682

Merged
dcantah merged 1 commit intoapple:mainfrom
JaewonHur:set-memory-low
Apr 14, 2026
Merged

Set memory.low for vminitd to avoid kernel reclaiming its memory#682
dcantah merged 1 commit intoapple:mainfrom
JaewonHur:set-memory-low

Conversation

@JaewonHur
Copy link
Copy Markdown
Contributor

Sets memory.low for vminitd cgroup to make kernel avoid reclaiming its memory under high memory pressure. Even if the container process runs in memory cgroup, consuming lots of page cache can lead to reclaiming vminitd's page cache memory , which hangs the vminitd. Setting memory.low makes kernel avoid reclaiming vminitd's page so that we can guarantee the proper vminitd operation under high memory pressure.

@dcantah dcantah merged commit de58d1d into apple:main Apr 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants