diff options
author | jeff <jeff@FreeBSD.org> | 2003-09-19 23:27:46 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-09-19 23:27:46 +0000 |
commit | accdfbd6265c14ec2d89df2a586816981de7c8aa (patch) | |
tree | a0aa2bf104f24df4b2bdd54c03e8e9611e4b51da /lib/libkse | |
parent | 282f47fbc761b0f25d1ced2774e9ddd76067d9d6 (diff) | |
download | FreeBSD-src-accdfbd6265c14ec2d89df2a586816981de7c8aa.zip FreeBSD-src-accdfbd6265c14ec2d89df2a586816981de7c8aa.tar.gz |
- Remove the working-set algorithm. Instead, use the per cpu buckets as the
working set cache. This has several advantages. Firstly, we never touch
the per cpu queues now in the timeout handler. This removes one more
reason for having per cpu locks. Secondly, it reduces the size of the zone
by 8 bytes, bringing it under 200 bytes for a single proc x86 box. This
tidies up other logic as well.
- The 'destroy' flag no longer needs to be passed to zone_drain() since it
always frees everything in the zone's slabs.
- cache_drain() is now only called from zone_dtor() and so it destroys by
default. It also does not need the destroy parameter now.
Diffstat (limited to 'lib/libkse')
0 files changed, 0 insertions, 0 deletions