From owner-freebsd-arch Mon Nov 12 15:59: 1 2001 Delivered-To: freebsd-arch@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 6CBD137B41B; Mon, 12 Nov 2001 15:58:59 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fACNwxq07227; Mon, 12 Nov 2001 15:58:59 -0800 (PST) (envelope-from dillon) Date: Mon, 12 Nov 2001 15:58:59 -0800 (PST) From: Matthew Dillon Message-Id: <200111122358.fACNwxq07227@apollo.backplane.com> To: John Baldwin Cc: freebsd-arch@FreeBSD.ORG, Robert Watson , Terry Lambert Subject: Re: cur{thread/proc}, or not. References: Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : : :On 12-Nov-01 Matthew Dillon wrote: :> You want to be very careful not to bloat the concept. We :> already have severe bloatage in the mutex code and that has :> led to a lot of unnecessary complexity. A huge amount, :> in fact. We have so many types of mutexes it makes my : :Err, hang on. I wasn't doing shared counts. refcount_shared() would be a :simple primitive to return true if the refcount was > 1. I was trying to see Sorry. Posted that before I read the patch. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message