tab manager defer to Android LMK in VM
It is not possible to directly reclaim memory from ARCVM based Android apps, so don't kill them. In ARCVM, the virtio balloon is sized to balance available memory between host and guest, so if there is critical memory pressure in Chrome, there will also be limited memory in the Android guest. ARCVM relies on the Android Low Memory Killer running in the guest to kill apps, increasing the memory available to the guest, which will be returned to the host with the virtio balloon. BUG=b:147336074 TEST=launch ARCVM, run 'grep 'WARNING debugd' /var/log/messages'. verify there's no warning from debugd. tast run <DUT> arc.MemoryChromeOSPerf.vm, also see no warnings in /var/log/messages. (this will force critical memory pressure) Change-Id: I7d610ea44eaf45494f6b4143b053779f6f3df6d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135094Reviewed-by:Yusuke Sato <yusukes@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Charles Dueck <cwd@chromium.org> Cr-Commit-Position: refs/heads/master@{#756962}
Showing
Please register or sign in to comment