Description[mojo-edk] Trim read buffer to keep its size down
Shrinks Channel's read buffer back down to the maximum
unused capacity any time its contents have been fully
discarded. This prevents us from permanently wasting
memory after a large IPC is transmitted.
Based on work detailed in issue 529940, the max unused
capacity has also been reduced from 256 kB down to
64 kB. In practice we rarely transmit messages larger
than this, so the performance impact of these extra
allocations should be negligible.
BUG=593731, 500019
R=amistry@chromium.org
Committed: https://crrev.com/3e0d30405b64ff0011aa347e9ecbe891e9e2ec66
Cr-Commit-Position: refs/heads/master@{#383862}
Patch Set 1 : #
Messages
Total messages: 8 (3 generated)
|