--- - branch: MAIN date: Thu Jun 9 14:41:24 UTC 2011 files: - new: '1.41' old: '1.40' path: src/sys/opencrypto/crypto.c pathrev: src/sys/opencrypto/crypto.c@1.41 type: modified - new: '1.67' old: '1.66' path: src/sys/opencrypto/cryptodev.c pathrev: src/sys/opencrypto/cryptodev.c@1.67 type: modified - new: '1.25' old: '1.24' path: src/sys/opencrypto/cryptodev.h pathrev: src/sys/opencrypto/cryptodev.h@1.25 type: modified id: 20110609T144124Z.749c184855b7c6ee87f7667a53a01d89e3ef5864 log: | -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) module: src subject: 'CVS commit: src/sys/opencrypto' unixtime: '1307630484' user: drochner