Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/opencrypto

Module Name:    src
Committed By:   drochner
Date:           Thu Jun  9 14:41:24 UTC 2011

Modified Files:
        src/sys/opencrypto: crypto.c cryptodev.c cryptodev.h

Log Message:
-if an opencrypto(9) session is allocated, the driver is refcounted
 and can not disappear -- no need to hold crypto_mtx to check the
 driver list
 (the whole check is questionable)
-crp->crp_cv (the condition variable) is used by userland cryptodev
 exclusively -- move its initialization there, no need to waste
 cycles of in-kernel callers
-add a comment which members of "struct cryptop" are used
 by opencrypto(9) and which by crypto(4)
 (this should be split, no need to waste memory for in-kernel callers)

To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/opencrypto/crypto.c
cvs rdiff -u -r1.66 -r1.67 src/sys/opencrypto/cryptodev.c
cvs rdiff -u -r1.24 -r1.25 src/sys/opencrypto/cryptodev.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index