Unify logic calculating system-level available memory on ChromeOS |
||||
Issue descriptionFrom https://docs.google.com/a/google.com/document/d/1wYHjDHMip88bwC7cN13MmkH_-uABRNBbb_DTYmIPlek/edit?usp=sharing_eip&ts=5914fe39# There are two separate places where Chrome makes system-level available memory calculations oriented around critical memory pressure: TabManagerDelegate::MemoryStat::TargetMemoryToFreeKB() MemoryMonitorChromeOS::GetFreeMemoryUntilCriticalMB() TargetMemoryToFreeKB() takes min_filelist_kbytes and min_free_kbytes into account while GetFreeMemoryUntilCriticalMB() does not. There's also different treatment of accounting for swap. We should unify the underlying logic in userspace, and move it to the kernel once an interface is available.
,
Jun 15 2017
I believe chrome is now using this file, can we mark this fixed?
,
Jul 5 2017
Yes I think that this is fixed.
,
Jul 6 2017
re #4 yeah you're right the memory pressure monitor isn't unified, I'm actually working on that part now.
,
Mar 23 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, May 19 2017