As Dag-Erling Smorgrav wrote ...
> "Kelly Yancey" <kby...@alcnet.com> writes:
> > [...]
> 
> Which reminds me - has anyone thought of using DMA for zeroing pages,
> to avoid cache invalidation? The idea is to keep a chunk of zeroes on
> disk and DMA it into memory instead of clearing pages "manually". This
> assumes your disk supports DMA, of course.

Wow.. I once saw this used, ages ago on a Uniflex machine running on
a Motorola 6809 cpu. They used a slightly different approach by doing dma
to a non-existent piece of hardware (memory is dim here...) that resulted
in zeros being read from the databus. The fact that TSC (the makers
of Uniflex) did this was discovered when Uniflex was ported over to 
a slightly different set of hardware that used inverting databuffers ;-)

Wilko
-- 
|   / o / /  _           Arnhem, The Netherlands        - Powered by FreeBSD -
|/|/ / / /( (_) Bulte    WWW  : http://www.tcja.nl      http://www.freebsd.org


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to