git: kernel - Add SMP support for software crypto driver

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 19 19:33:38 PDT 2010


commit a0419b3343492f40c07184aa78b395501b813e14
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Aug 19 19:29:03 2010 -0700

    kernel - Add SMP support for software crypto driver
    
    * Create a crypto thread for each cpu.
    
    * Run the threads without the MP lock.
    
    * Dispatch to the threads round-robin.

Summary of changes:
 sys/opencrypto/crypto.c     |  276 ++++++++++++++++++++++++--------------
 sys/opencrypto/cryptodev.c  |    2 +-
 sys/opencrypto/cryptodev.h  |    1 +
 sys/opencrypto/cryptosoft.c |  312 ++++++++++++++++++++++++++++---------------
 sys/opencrypto/cryptosoft.h |    2 +
 sys/opencrypto/deflate.c    |   11 +-
 sys/opencrypto/xform.c      |   17 +--
 7 files changed, 396 insertions(+), 225 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a0419b3343492f40c07184aa78b395501b813e14


-- 
DragonFly BSD source repository





More information about the Commits mailing list