From owner-cvs-all Sun Dec 29 3:14:51 2002 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 9072737B401; Sun, 29 Dec 2002 03:14:41 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 659B843EB2; Sun, 29 Dec 2002 03:14:41 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBTBEffh028039; Sun, 29 Dec 2002 03:14:41 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBTBEfR7028038; Sun, 29 Dec 2002 03:14:41 -0800 (PST) Message-Id: <200212291114.gBTBEfR7028038@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 29 Dec 2002 03:14:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys _mutex.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2002/12/29 03:14:41 PST Modified files: sys/sys _mutex.h Log: Save 16 bytes per mutex if MUTEX_PROFILING is not defined. MUTEX_PROFILING is in opt_global.h, so this does not introduce a risk of variant structure sizes unless foreign kernel modules are used. This saved 16 bytes per vnode and 16 bytes per vm object for a total of 4MB on a 2GB machine. Idea from: alc Revision Changes Path 1.9 +6 -1 src/sys/sys/_mutex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message