From owner-cvs-src@FreeBSD.ORG Fri Sep 19 01:37:45 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBD2916A4B3; Fri, 19 Sep 2003 01:37:45 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF5943F75; Fri, 19 Sep 2003 01:37:45 -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 h8J8bjXJ072607; Fri, 19 Sep 2003 01:37:45 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8J8biN2072606; Fri, 19 Sep 2003 01:37:44 -0700 (PDT) (envelope-from jeff) Message-Id: <200309190837.h8J8biN2072606@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 19 Sep 2003 01:37:44 -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.h uma_core.c uma_dbg.c uma_int.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 08:37:45 -0000 jeff 2003/09/19 01:37:44 PDT FreeBSD src repository Modified files: sys/vm uma.h uma_core.c uma_dbg.c uma_int.h Log: - Fix the silly flag situation in UMA. Remove redundant ZFLAG/ZONE flags by accepting the user supplied flags directly. Previously this was not done so that flags for the same field would not be defined in two different files. Add comments in each header instructing future developers on how now to shoot their feet. - Fix a test for !OFFPAGE which should have been a test for HASH. This would have caused a panic if we had ever destructed a malloc zone. This also opens up the possibility that other zones could use the vsetobj() method rather than a hash. Revision Changes Path 1.16 +6 -1 src/sys/vm/uma.h 1.78 +31 -40 src/sys/vm/uma_core.c 1.12 +2 -2 src/sys/vm/uma_dbg.c 1.19 +7 -11 src/sys/vm/uma_int.h