On Mon, 2010-03-15 at 14:24 +0000, Jamie Lokier wrote:
Rather than pulling a number our of our posterior like "every 256 bytes"
which might _really_ screw up performance of some architectures' memcpy
routines, I suspect we might want the platform to provide an optimised
"sleepable_memcpy" function which does it at whatever interval is
appropriate for the memcpy routine in use. Or magically makes it
preemptable. Or uses a DMA engine. Or whatever.
I wonder where else we could use such a function...
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--