[PATCH v7 1/8] Talitos: Support for async_tx XOR offload

Dan Williams dan.j.williams at gmail.com
Sun Sep 2 16:47:56 EST 2012


On Thu, Aug 30, 2012 at 7:23 AM, Geanta Neag Horia Ioan-B05471
<B05471 at freescale.com> wrote:
>
> Besides these:
> 1. As Dan Williams mentioned, you should explain why you are using
> both spin_lock_bh and spin_lock_irqsave on the same lock.

It looks like talitos_process_pending() can be called from hardirq
context via talitos_error().  So spin_lock_bh is not sufficient.


More information about the Linuxppc-dev mailing list