From owner-cvs-src@FreeBSD.ORG Wed Nov 3 10:02:51 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6639516A4CE; Wed, 3 Nov 2004 10:02:51 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44DC443D1D; Wed, 3 Nov 2004 10:02:51 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA3A2pU9097161; Wed, 3 Nov 2004 10:02:51 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA3A2pcA097160; Wed, 3 Nov 2004 10:02:51 GMT (envelope-from rwatson) Message-Id: <200411031002.iA3A2pcA097160@repoman.freebsd.org> From: Robert Watson Date: Wed, 3 Nov 2004 10:02:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/random randomdev_soft.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 10:02:51 -0000 rwatson 2004-11-03 10:02:51 UTC FreeBSD src repository Modified files: sys/dev/random randomdev_soft.c Log: (1) Move from O(n) list copies to O(1) list concatenation, which is supported for STAILQ via STAILQ_CONCAT(). (2) Maintain a count of the number of entries in the thread-local entropy fifo so that we can keep the other fifo counts in synch. MFC after: 3 weeks MFC with: randomdev_soft.c revisions 1.5 and 1.6 Suggested by: jhb (1) Revision Changes Path 1.7 +11 -14 src/sys/dev/random/randomdev_soft.c