From owner-cvs-all@FreeBSD.ORG Tue Apr 11 18:07:26 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD7F116A443; Tue, 11 Apr 2006 18:07:26 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E43EA43D4C; Tue, 11 Apr 2006 18:07:25 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9A4C952C15; Tue, 11 Apr 2006 20:07:23 +0200 (CEST) Received: from localhost (dlj113.neoplus.adsl.tpnet.pl [83.24.39.113]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 7720150F93; Tue, 11 Apr 2006 20:07:17 +0200 (CEST) Date: Tue, 11 Apr 2006 20:06:07 +0200 From: Pawel Jakub Dawidek To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20060411180606.GB7031@garage.freebsd.pl> References: <200604111801.k3BI14xl051713@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NMuMz9nt05w80d4+" Content-Disposition: inline In-Reply-To: <200604111801.k3BI14xl051713@repoman.freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,RCVD_IN_XBL autolearn=no version=3.0.4 Cc: Subject: Re: cvs commit: src/sys/opencrypto crypto.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 18:07:26 -0000 --NMuMz9nt05w80d4+ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 11, 2006 at 06:01:04PM +0000, Pawel Jakub Dawidek wrote: +> pjd 2006-04-11 18:01:04 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> sys/opencrypto crypto.c=20 +> Log: +> Be sure to wakeup the crypto thread when new request was queued. +> This should fix a hang when starting cryptokeytest (and more). This is not the best fix here, because the crypto thread is running if there is a symmetric or asymmetric requests in the queue, but will do for now. The better fix will be a part of my bigger changes, where there is a macro CRYPTO_Q_EMPTY() defined as follows: #define CRYPTO_Q_EMPTY() (TAILQ_EMPTY(&crp_q) && TAILQ_EMPTY(&crp_kq)) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEO/AOForvXbEpPzQRAnocAJ49IthaZS80mn9T5SImYuasNFshpQCeK8hn u3F488321PzipI+ZJl0d4Xc= =TdR2 -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+--