mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
6b28917b83
Rather than using the default BufWriter capacity (currently 8K), calculate the exact size required to contain the table. This further consolidates the write() system calls to the minimum required. BUG=chromium:891335 TEST=Manually verify expected write() calls with strace Change-Id: I9ade77024e60a92d30b65beb07c2385e5dacc167 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1250035 Reviewed-by: Dylan Reid <dgreid@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |