Date: Sat, 23 Jul 2005 15:11:13 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c Message-ID: <200507231511.j6NFBDcK019598@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-07-23 15:11:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/vm uma_core.c Log: Merge uma_core.c:1.128 from HEAD to RELENG_6: Further UMA statistics related changes: - Add a new uma_zfree_internal() flag, ZFREE_STATFREE, which causes it to to update the zone's uz_frees statistic. Previously, the statistic was updated unconditionally. - Use the flag in situations where a "real" free occurs: i.e., one where the caller is freeing an allocated item, to be differentiated from situations where uma_zfree_internal() is used to tear down the item during slab teardown in order to invoke its fini() method. Also use the flag when UMA is freeing its internal objects. - When exchanging a bucket with the zone from the per-CPU cache when freeing an item, flush cache statistics back to the zone (since the zone lock and critical section are both held) to match the allocation case. Approved by: re (kensmith) Revision Changes Path 1.119.2.9 +27 -14 src/sys/vm/uma_core.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507231511.j6NFBDcK019598>