On Thu, May 19, 2011 at 7:36 PM, Linus Walleij <[email protected]> wrote: >> >> just out of curiosity: is it a busy wait? Looks like it is... > > Yep that's the polling mode part. IRQ and DMA mode should > be the norm I guess. > > Magnus: do you have a specific use case for this thing?
Well, adding cpu_relax() somewhere in the loop might be not a bad idea... Thanks, Vitaly ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
