[PATCH] cafe_nand: remove busy-wait loop

Mitch Bradley wmb at laptop.org
Tue Dec 9 12:05:04 EST 2008


Nice!

One quick test, for starters, is to do some file accesses to large files 
(dd or tar or whatever) and use the "time" command to look at the system 
and user times.  With the patch, the system time should drop to a 
fraction of the real time.

Daniel Drake wrote:
> This patch enables interrupts for DMA and command completion events, and
> uses them to determine when commands and transfers have completed.
>
> This avoids a busy-wait loop which was a waste of CPU time.
>
> Signed-off-by: Daniel Drake <dsd at laptop.org>
>
> ---
> Where do we go with this? Who's adventurous enough to test it? Dare we
> put it in joyride? Any suggestions for how to measure performance
> difference?
>   




More information about the Devel mailing list