diff options
author | mav <mav@FreeBSD.org> | 2014-01-05 22:09:18 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-01-05 22:09:18 +0000 |
commit | fe82b61321d95949dd3b45f4e9ea7923b97ec6d8 (patch) | |
tree | 8618a1d268205f0114f8e8fbe9fac74ebfb08806 /sys/dev/usb/controller/ohci.c | |
parent | 1bba01828c15c706eae833685b7f0c07c42f7c54 (diff) | |
download | FreeBSD-src-fe82b61321d95949dd3b45f4e9ea7923b97ec6d8.zip FreeBSD-src-fe82b61321d95949dd3b45f4e9ea7923b97ec6d8.tar.gz |
MFC r258137:
Introduce allocation cache to store LZ4 compression contexts without kicking
VM subsystem twice for every written record.
Tests on 24-core system show double reduction of CPU time spent on copying
single large well-compressed file.
This patch is not really needed on illumos (while not harm either) since
their memory allocator by default uses caching for all requests up to 128K.
Diffstat (limited to 'sys/dev/usb/controller/ohci.c')
0 files changed, 0 insertions, 0 deletions