Date: Fri, 19 Sep 2003 16:27:46 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c uma_int.h Message-ID: <200309192327.h8JNRkAh069204@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309192327.h8JNRkAh069204>