From owner-cvs-all Tue Jul 11 12:37:30 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 895CB37B8D6; Tue, 11 Jul 2000 12:37:26 -0700 (PDT) (envelope-from markm@FreeBSD.org) Received: (from markm@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA73885; Tue, 11 Jul 2000 12:37:26 -0700 (PDT) (envelope-from markm@FreeBSD.org) Message-Id: <200007111937.MAA73885@freefall.freebsd.org> From: Mark Murray Date: Tue, 11 Jul 2000 12:37:25 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/randomdev harvest.c yarrow.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG markm 2000/07/11 12:37:25 PDT Modified files: sys/dev/randomdev harvest.c yarrow.c Log: Storing to a pointer is (effectively) atomic; no need to protect this with splhigh(). However, the entropy-harvesting routine needs pretty serious irq-protection, as it is called out of irq handlers etc. Clues given by: bde Revision Changes Path 1.2 +1 -9 src/sys/dev/randomdev/harvest.c 1.10 +3 -3 src/sys/dev/randomdev/yarrow.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message