diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-11-22 17:45:08 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-11-23 09:09:39 +0100 |
| commit | f2248a0a06cf02cc83adfc073a0fab1ab53b344f (patch) | |
| tree | d355752a42754d184ac3339a8c2aba0f1417389c /executor/executor_windows.h | |
| parent | 3c4ffce72a611aaf547c0e0047b4aefc0dde86fd (diff) | |
executor: reduce zlib memory consumption
The images we unpack has huge ranges of 0s.
Currently we write all bytes and as the result page in whole unpacked image.
Don't write 0s since we just mmaped zero memory.
This reduces btrfs_0 seed memory consumption from 130MB to 6MB.
Diffstat (limited to 'executor/executor_windows.h')
0 files changed, 0 insertions, 0 deletions
