From owner-cvs-all Sun Sep 10 18:11:48 2000 Delivered-To: cvs-all@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 3A65B37B422; Sun, 10 Sep 2000 18:11:44 -0700 (PDT) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id SAA29487; Sun, 10 Sep 2000 18:11:25 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200009110111.SAA29487@pike.osd.bsdi.com> Subject: Re: cvs commit: src/sys/conf files src/sys/sys random.h src/sys/dev/randomdev hash.c hash.h harvest.c randomdev.c yarrow.c yarro In-Reply-To: <20000911093457.H15703@wantadilla.lemis.com> from Greg Lehey at "Sep 11, 2000 09:34:57 am" To: Greg Lehey Date: Sun, 10 Sep 2000 18:11:25 -0700 (PDT) Cc: Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > On Sunday, 10 September 2000 at 6:52:19 -0700, Mark Murray wrote: > > markm 2000/09/10 06:52:19 PDT > > > > Log: > > Large upgrade to the entropy device; mainly inspired by feedback > > from many folk. > > > > o The reseed process is now a kthread. With SMPng, kthreads are > > pre-emptive, so the annoying jerkiness of the mouse is gone. > > > > o The data structures are protected by mutexes now, not splfoo()/splx(). > > The last thing I heard was that we were getting worried about putting > in too many mutexes. How was this resolved? IIRC, Mark's code doesn't tsleep() with a mutex, which was one of the problems that the malloc() mutex patch had. Although, in my opinion, we'd probably be better off starting with large subsystem locks as the first step of the lock pushdown, and then successively push down the locks within each subsystem and sub-subsystem. I think trying to add a bunch of small locks in the beginning will just give us massive amounts of headaches. > Greg > -- > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message