From owner-cvs-src@FreeBSD.ORG Fri Oct 17 17:20:26 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CD1E1065686; Fri, 17 Oct 2008 17:20:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3588FC42; Fri, 17 Oct 2008 17:20:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m9HHKJYN063752; Fri, 17 Oct 2008 13:20:19 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Alan Cox Date: Fri, 17 Oct 2008 13:19:59 -0400 User-Agent: KMail/1.9.7 References: <200709151847.l8FIl2nC093179@repoman.freebsd.org> In-Reply-To: <200709151847.l8FIl2nC093179@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810171319.59992.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Fri, 17 Oct 2008 13:20:19 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8439/Fri Oct 17 08:25:04 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 17:20:26 -0000 On Saturday 15 September 2007 02:47:02 pm Alan Cox wrote: > 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) I'd like to merge this to 6.x. However, I'm not sure if the same is true about vm_page_free() not needing the vm_page_queues lock in 6.x, so figured I'd ask you about that first. -- John Baldwin