From owner-freebsd-arch Sat Feb 16 23:13:35 2002 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 C766137B405; Sat, 16 Feb 2002 23:13:31 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1H7Cxb48783; Sat, 16 Feb 2002 23:12:59 -0800 (PST) (envelope-from dillon) Date: Sat, 16 Feb 2002 23:12:59 -0800 (PST) From: Matthew Dillon Message-Id: <200202170712.g1H7Cxb48783@apollo.backplane.com> To: Julian Elischer Cc: Alfred Perlstein , Poul-Henning Kamp , arch@FreeBSD.ORG, jhb@FreeBSD.ORG, peter@wemm.org, jake@locore.ca Subject: Re: gettimeofday() and crhold()/crfree() (was Re: gettimeofday() References: <200202170654.WAA44493@InterJet.elischer.org> 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 : :I agree but jhb wants to have it that way... He wants to be able to catch :anyone accessing the ucred of a thread that is in user space. I :personally think we should just remove the code. It makes it rather difficult to work on the Giant pushdown code because it's going to catch a majority of process blockages, making it difficult for us to guage the effect of our Giant pushdown work and also making it difficult to track down what Giant locks are still being obtained. If John (John?) is going to insist on leaving that code in, then I will have to commit the Giant-less crfree() code pretty much now to get around the deficiency. Now, it may wind up being a good idea to have giant-less crfree() code anyway, since crfree() is called from the VM system (and NFS, and the file descriptor code, and the VFS subsystem, and a few other places deep in the code). It will be rather difficult to get Giant pushed down into those subsystems without fixing crfree() anyway, but the work isn't likely to progress that far for a few weeks or a month or two depending. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message