Problem of concurrency in arch/ppc/8260_io/uart.c

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Sat Sep 27 08:39:48 EST 2003


> Tom Rini wrote:
>
> > KGDB still works for me.  Dan, any final thoughts / comments /
> > objections?
>
> In the last patch I saw, we are blocking interrupts for quite a while,
> across a copy_from_user(), in 8xx_write().

Yes, thats correct. I did try different ways around that but the only thing that
would work is to make copy_from_user() copy to i tmp buf and then copy the
tmp buf into the BD. Would that be better?

 Jocke

> This can cause large
> interrupt latencies due to page faults, it would be nice if could fix that.
>
> -- Dan
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list