Subject: CVS commit: src/sys/arch
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/09/2003 21:51:37
Module Name: src
Committed By: thorpej
Date: Wed Apr 9 18:51:36 UTC 2003
Modified Files:
src/sys/arch/arm/arm32: bus_dma.c
src/sys/arch/x86/x86: bus_dma.c
Log Message:
Use cached physical addresses for mbufs and clusters to save having
to extract the physical address from the virtual.
On the ARM, also use the "read-only at MMU" indication to avoid a
redundant cache clean operation.
Other platforms should use these two as examples of how to use these
new pool/mbuf features to improve network performance. Note this requires
a platform to provide a working POOL_VTOPHYS().
Part 3 in a series of simple patches contributed by Wasabi Systems
to improve network performance.
To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/arch/arm/arm32/bus_dma.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/x86/x86/bus_dma.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.