diff options
author | jasone <jasone@FreeBSD.org> | 2006-12-23 00:18:51 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2006-12-23 00:18:51 +0000 |
commit | 9667303e997fbaeba1cc05e812b906dc5da63983 (patch) | |
tree | 2403080d78b790e83a0c7964f4f3d99de68655ed /sys/kern/vfs_extattr.c | |
parent | 1d8bcc013d427ab409b663966ab75fe790ad6f0f (diff) | |
download | FreeBSD-src-9667303e997fbaeba1cc05e812b906dc5da63983.zip FreeBSD-src-9667303e997fbaeba1cc05e812b906dc5da63983.tar.gz |
Implement chunk allocation/deallocation hysteresis by caching one spare
chunk per arena, rather than immediately deallocating all unused chunks.
This fixes a potential performance issue when allocating/deallocating
an object of size (4kB..1MB] in a loop.
Reported by: davidxu
Diffstat (limited to 'sys/kern/vfs_extattr.c')
0 files changed, 0 insertions, 0 deletions