cvs commit: src/sys/vm uma_core.c uma_int.h
jeff 2003/09/19 16:27:46 PDT
FreeBSD src repository
sys/vm uma_core.c uma_int.h
- 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.
Revision Changes Path
1.83 +28 -75 src/sys/vm/uma_core.c
1.21 +1 -6 src/sys/vm/uma_int.h
Received on Fri Sep 19 2003 - 16:27:47 UTC