diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-21 08:45:56 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:43 +0900 |
| commit | 8cd2bf1d7af98ead863c17ee9168270af2cae19b (patch) | |
| tree | d79a332324f47ea5768af0b20133c53dde1fdf1c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 33200693eb226df9caaa9affe0584744d44a28b1 (diff) | |
ntfs: reuse compression output workspace across write units
ntfs_write_cb() allocates output pages and creates input and output
vmaps for every compression unit. Sequential writes repeatedly pay
those allocation and page-table costs even though each unit has the
same maximum output size.
Allocate and map the output workspace once per write request. Access
input sub-blocks with kmap_local_page(), and reuse the output pages and
mapping for every compression unit in the request.
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
