From owner-cvs-all@FreeBSD.ORG Sat Jul 23 15:01:49 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83C3616A41F; Sat, 23 Jul 2005 15:01:49 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3583E43D4C; Sat, 23 Jul 2005 15:01:49 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6NF1mkJ018917; Sat, 23 Jul 2005 15:01:48 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6NF1mPt018916; Sat, 23 Jul 2005 15:01:48 GMT (envelope-from rwatson) Message-Id: <200507231501.j6NF1mPt018916@repoman.freebsd.org> From: Robert Watson Date: Sat, 23 Jul 2005 15:01:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/vm uma_core.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 15:01:49 -0000 rwatson 2005-07-23 15:01:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/vm uma_core.c Log: Merge uma_core.c:1.20 from HEAD to RELENG_6: In an earlier world order, UMA would flush per-CPU statistics to the zone whenever it was moving buckets between the zone and the cache, or when coalescing statistics across the CPU. Remove flushing of statistics to the zone when coalescing statistics as part of sysctl, as we won't be running on the right CPU to write to the cache statistics. Add a missed gathering of statistics: when uma_zalloc_internal() does a special case allocation of a single item, make sure to update the zone statistics to represent this. Previously this case wasn't accounted for in user-visible statistics. Approved by: re (kensmith) Revision Changes Path 1.119.2.1 +2 -1 src/sys/vm/uma_core.c