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

DragonFly-2.3.1.162.g6eed46 master sys/platform/pc32/i386 busdma_machdep.c sys/platform/pc64/amd64 busdma_machdep.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Jun 2009 11:24:58 -0700 (PDT)

commit 6eed46e7fc815d4961ef5a4e274c13c3d98b0ce7
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jun 4 11:10:20 2009 -0700

    bus_dma_tag fixes and enhancements.
    
    * Protect the cached segment list in the bus_dma_tag structure
      with a spinlock.
    
    * Cache up to 8 segments on the stack when applicable (needs more work).
    
    * Add function call bus_dma_tag_getmaxsize() to access the maxsize field
      in the tag.
    
    * Fix a bug in bus_dmamap_load_uio() which did not properly append segments
      when the uio has more then one iov.  (untested).

Summary of changes:
 sys/platform/pc32/i386/busdma_machdep.c  |   96 ++++++++++++++++++++++++++----
 sys/platform/pc64/amd64/busdma_machdep.c |   75 ++++++++++++++++++++---
 2 files changed, 150 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6eed46e7fc815d4961ef5a4e274c13c3d98b0ce7


-- 
DragonFly BSD source repository



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