DragonFly BSD
DragonFly commits List (threaded) for 2010-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Add SMP support for software crypto driver


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Aug 2010 19:32:44 -0700 (PDT)

commit a0419b3343492f40c07184aa78b395501b813e14
Author: Matthew Dillon <dillon@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



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