From owner-cvs-all@FreeBSD.ORG Fri Sep 19 01:53:34 2003 Return-Path: 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 A169F16A4B3; Fri, 19 Sep 2003 01:53:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23E6F43F85; Fri, 19 Sep 2003 01:53:34 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h8J8rXXJ074216; Fri, 19 Sep 2003 01:53:33 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8J8rX18074215; Fri, 19 Sep 2003 01:53:33 -0700 (PDT) (envelope-from jeff) Message-Id: <200309190853.h8J8rX18074215@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 19 Sep 2003 01:53:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm uma_core.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 19 Sep 2003 08:53:34 -0000 jeff 2003/09/19 01:53:33 PDT FreeBSD src repository Modified files: sys/vm uma_core.c Log: - Move the logic for dealing with the uma_boot_pages cache into the page_alloc() function from the slab_zalloc() function. This allows us to unconditionally call uz_allocf(). - In page_alloc() cleanup the boot_pages logic some. Previously memory from this cache that was not used by the time the system started was left in the cache and never used. Typically this wasn't more than a few pages, but now we will use this cache so long as memory is available. Revision Changes Path 1.79 +22 -21 src/sys/vm/uma_core.c