>>>>> "Joakim" == Joakim Tjernlund <[EMAIL PROTECTED]> writes:

Hi,

 >> So long as you do the polling with IRQs enabled, I'd keep it
 >> simple and just always poll.  YMMV of course, but most devices
 >> seem to prefer more like 10 MHz clocks than 1 MHz ones.

 Joakim> Sorry for the delay, forgot about this.

 Joakim> Won't polling for long periods starve user space? How to
 Joakim> overcome this?

I guess it won't be any worse than the processor being overloaded with
interrupts - In fact it's better, as there's more real work done.

 Joakim> Why use a kernel thread(mpc83xx_spi.0) to do the work?  Would
 Joakim> it not be better if the polling was in process context?

I guess that's needed for the async stuff.

-- 
Bye, Peter Korsgaard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to