From owner-cvs-all@FreeBSD.ORG Sat Sep 15 18:47:03 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D74216A41B; Sat, 15 Sep 2007 18:47:03 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 135B313C459; Sat, 15 Sep 2007 18:47:03 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8FIl28U093180; Sat, 15 Sep 2007 18:47:02 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8FIl2nC093179; Sat, 15 Sep 2007 18:47:02 GMT (envelope-from alc) Message-Id: <200709151847.l8FIl2nC093179@repoman.freebsd.org> From: Alan Cox Date: Sat, 15 Sep 2007 18:47:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 uma_machdep.c src/sys/arm/arm vm_machdep.c src/sys/ia64/ia64 uma_machdep.c src/sys/powerpc/powerpc uma_machdep.c src/sys/sparc64/sparc64 vm_machdep.c src/sys/sun4v/sun4v vm_machdep.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, 15 Sep 2007 18:47:03 -0000 alc 2007-09-15 18:47:02 UTC FreeBSD src repository Modified files: sys/amd64/amd64 uma_machdep.c sys/arm/arm vm_machdep.c sys/ia64/ia64 uma_machdep.c sys/powerpc/powerpc uma_machdep.c sys/sparc64/sparc64 vm_machdep.c sys/sun4v/sun4v vm_machdep.c Log: It has been observed on the mailing lists that the different categories of pages don't sum to anywhere near the total number of pages on amd64. This is for the most part because uma_small_alloc() pages have never been counted as wired pages, like their kmem_malloc() brethren. They should be. This changes fixes that. It is no longer necessary for the page queues lock to be held to free pages allocated by uma_small_alloc(). I removed the acquisition and release of the page queues lock from uma_small_free() on amd64 and ia64 weeks ago. This patch updates the other architectures that have uma_small_alloc() and uma_small_free(). Approved by: re (kensmith) Revision Changes Path 1.4 +5 -3 src/sys/amd64/amd64/uma_machdep.c 1.34 +5 -5 src/sys/arm/arm/vm_machdep.c 1.4 +5 -3 src/sys/ia64/ia64/uma_machdep.c 1.4 +5 -5 src/sys/powerpc/powerpc/uma_machdep.c 1.76 +5 -5 src/sys/sparc64/sparc64/vm_machdep.c 1.7 +5 -5 src/sys/sun4v/sun4v/vm_machdep.c