Source-Changes archive

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

CVS commit: src/sys/dev/ic



Module Name:    src
Committed By:   tsutsui
Date:           Sat Jun 30 14:08:59 UTC 2007

Modified Files:
        src/sys/dev/ic: osiop.c osiopvar.h

Log Message:
Rather than preparing DMA map for SCSI command (which is
less than 16 bytes) of each SCSI command block (acb), just
prepare DMA safe buffer in struct osiop_ds and copy commands
into the buffer on each transfer to save resources and
reduce small and unaligned cache flush ops.

As a side effect, sizeof struct osiop_ds (DMA safe data buffer)
is now 256 bytes (including padding) so it could be more
cacheline friendly on bus_dmamap_sync(9) ops.

Tested on Express5800/230 (arc) and EWS4800/360AD (ews4800mips),
and no visible performance difference on bonnie.
(hppa and mvme68k are untested)


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/dev/ic/osiop.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/ic/osiopvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index