cc: Remove memory pressure handler from SoftwareImageDecodeCache
The memory pressure handler of SoftwareImageDecodeCache currently purges all unlocked cache entries upon a critical memory pressure notification. These cache entries are primarily composed of discardable memory. However, the DiscardableSharedMemoryManager purges all unlocked discardable memory upon a critical memory pressure notification as well. It is expected that all unlocked cache entries have their respective discardable memory unlocked. Remove the unnecessary memory pressure handler in order to: - Reduce the number of memory pressure notification consumers - Reduce work performed during memory pressure handling (cache walk) Change-Id: I196b6da65ca961cdbc525869e419f37999d4f453 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1951134Reviewed-by:Eric Karl <ericrk@chromium.org> Auto-Submit: Gordon Guan <gordonguan@google.com> Commit-Queue: Gordon Guan <gordonguan@google.com> Cr-Commit-Position: refs/heads/master@{#722974}
Showing
Please register or sign in to comment