cvs commit: src/sys/dev/dc if_dc.c

Marius Strobl marius at FreeBSD.org
Tue Aug 26 19:15:09 UTC 2008


marius      2008-08-26 19:14:55 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/dc           if_dc.c 
  Log:
  SVN rev 182218 on 2008-08-26 19:14:55Z by marius
  
  MFC: r182079
  
  - Use m_collapse(9) instead of m_defrag(9) if possible. This results
    in a noticeable reduction in system time spent.
  - If bus_dmamap_load_mbuf_sg(9) fails with EFBIG and we already have
    defragmented the mbuf chain, don't bother to defragment and load it
    a second time just yet as it's likely to fail again anyway.
  
  Revision   Changes    Path
  1.192.2.4  +27 -18    src/sys/dev/dc/if_dc.c


More information about the cvs-src mailing list