diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-21 08:44:57 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:42 +0900 |
| commit | 33200693eb226df9caaa9affe0584744d44a28b1 (patch) | |
| tree | bf8d65bdcbc4c39fdebc5e8d27bbc5ccc00d47a9 /tools/perf/scripts/python/bin | |
| parent | b54559689a00eb50308fb768e05fbb5036c7b1b0 (diff) | |
ntfs: reuse the compression context during writes
ntfs_compress_block() allocates and initializes a roughly 40 KiB match
finder context for every 4 KiB sub-block. A 64 KiB compression unit thus
performs sixteen large allocations even though the calls are serialized.
Allocate one context for the complete write request and reset its hash
chains for each sub-block as before.
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
