From owner-freebsd-current Sun Sep 10 21:14:13 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 25BF237B423; Sun, 10 Sep 2000 21:14:10 -0700 (PDT) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id VAA32467; Sun, 10 Sep 2000 21:14:02 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200009110414.VAA32467@pike.osd.bsdi.com> Subject: Re: cvs commit: src/sys/dev/randomdev yarrow.c In-Reply-To: <200009110409.VAA11720@freefall.freebsd.org> from John Baldwin at "Sep 10, 2000 09:09:08 pm" To: John Baldwin Date: Sun, 10 Sep 2000 21:14:02 -0700 (PDT) Cc: current@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-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Baldwin wrote: > jhb 2000/09/10 21:09:08 PDT > > Modified files: > sys/dev/randomdev yarrow.c > Log: > - Use RFHIGHPID when creating the kthread to get a more sensible pid. > - Don't fake walking a tailq. Instead, use a while loop that pulls items > off the head of the queue while the queue is not empty. This should fix the recent kernel panics during boot from randomdev... -- 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 freebsd-current" in the body of the message