Date: Wed, 8 Jan 2003 21:39:04 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/opencrypto crypto.c Message-ID: <200301090539.h095d4vQ034489@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2003/01/08 21:39:04 PST Modified files: sys/opencrypto crypto.c Log: Invoke the driver directly when a request is submitted via crypto_dispatch or crypto_kdispatch unless the driver is currently blocked. This eliminates the context switch to the dispatch thread for virtually all requests. Note that this change means that for software crypto drivers the caller will now block until the request is completed and the callback is dispatched to the callback thread (h/w drivers will typically just dispatch the op to the device and return quickly). If this is an issue we can either implement a non-blocking interface in the s/w crypto driver or use either the "no delay" flag in the crypto request or the "software driver" capability flag to control what to do. Sponsored by: Vernier Networks Revision Changes Path 1.8 +52 -21 src/sys/opencrypto/crypto.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301090539.h095d4vQ034489>