cvs commit: src/sys/vm uma_core.c uma_int.h
Jeff Roberson
jeff at FreeBSD.org
Fri Sep 19 16:27:48 PDT 2003
jeff 2003/09/19 16:27:46 PDT
FreeBSD src repository
Modified files:
sys/vm uma_core.c uma_int.h
Log:
- 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
More information about the cvs-all
mailing list