From owner-cvs-all@FreeBSD.ORG Tue Sep 27 18:07:13 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 0AD4B16A41F; Tue, 27 Sep 2005 18:07:13 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D80B43D6E; Tue, 27 Sep 2005 18:07:05 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8RI75uS019779; Tue, 27 Sep 2005 18:07:05 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8RI75t0019778; Tue, 27 Sep 2005 18:07:05 GMT (envelope-from jhb) Message-Id: <200509271807.j8RI75t0019778@repoman.freebsd.org> From: John Baldwin Date: Tue, 27 Sep 2005 18:07:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_resource.c src/sys/sys resourcevar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 27 Sep 2005 18:07:13 -0000 jhb 2005-09-27 18:07:05 UTC FreeBSD src repository Modified files: sys/kern kern_resource.c sys/sys resourcevar.h Log: Use the reference count API to manage the reference counts for process limit structures rather than using pool mutexes to protect the reference counts. Tested on: i386, alpha, sparc64 Revision Changes Path 1.149 +4 -11 src/sys/kern/kern_resource.c 1.48 +0 -5 src/sys/sys/resourcevar.h