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

DragonFly-2.3.0.110.geda6a master sys/platform/pc32/i386 busdma_machdep.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Feb 2009 03:31:22 -0800 (PST)

commit eda6a7473be7c8bac7d515b1a83e234f1a900452
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Jan 17 10:14:38 2009 +0800

    Bounce page fixes
    
    - Free accumulated bounce pages in the bus dma map if we could not
      reserved enough bounce pages.
    - In bus_dmamap_load_mbuf(), if _bus_dmamap_load_buffer() returns
      ENOMEM on non-first mbuf fragment, we adjust the error to EFBIG:
      o  There is at least one bounce page available, so we could expect
         that after mbuf defragmentation, enough bounce pages (normally
         one bounce page for non-jumbo frame) may be available.
      o  Most callers defragment the mbuf chain only if error is EFBIG.

Summary of changes:
 sys/platform/pc32/i386/busdma_machdep.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository



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