summaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/lz4/lz4hc.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-23 17:21:24 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-23 17:30:29 +0200
commitd9e5895829a2c20e7624326ce391f0e56762b855 (patch)
treec7ba4fa9322d5038da8e53aef200a47d01558604 /lib/sqfs/comp/lz4/lz4hc.c
parent4587a56466f0c55d91ece168f0dc872f81a8196c (diff)
block processor: move the block consolidation to the worker thread
Instead of merging fragments into the fragment block inside the process_completed_fragment function, store a linked list of fragments in the fragment block and do the actual merging (several memcpy calls totaling of up to 1M of data in worst case) in the worker thread instead of the locked, serial path. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/comp/lz4/lz4hc.c')
0 files changed, 0 insertions, 0 deletions