From owner-cvs-all@FreeBSD.ORG Sun Sep 21 00:39:18 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 44D5B16A4BF; Sun, 21 Sep 2003 00:39:18 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2AE743FE3; Sun, 21 Sep 2003 00:39:16 -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 h8L7dGXJ088869; Sun, 21 Sep 2003 00:39:16 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8L7dGl9088868; Sun, 21 Sep 2003 00:39:16 -0700 (PDT) (envelope-from jeff) Message-Id: <200309210739.h8L7dGl9088868@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 21 Sep 2003 00:39:16 -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: Sun, 21 Sep 2003 07:39:18 -0000 jeff 2003/09/21 00:39:16 PDT FreeBSD src repository Modified files: sys/vm uma_core.c Log: - Fix MD_SMALL_ALLOC on architectures that support it. Define a new alloc function, startup_alloc(), that is used for single page allocations prior to the VM starting up. If it is used after the VM startups up, it replaces the zone's allocf pointer with either page_alloc() or uma_small_alloc() where appropriate. Pointy hat to: me Tested by: phk/amd64, me/x86 Revision Changes Path 1.85 +46 -21 src/sys/vm/uma_core.c