Chris Leech <[EMAIL PROTECTED]> wrote:
>
> +static void ioat_dma_memcpy_cleanup(struct ioat_dma_chan *chan)
>  +{
>  +    unsigned long phys_complete;
>  +    struct ioat_desc_sw *desc, *_desc;
>  +    dma_cookie_t cookie = 0;
>  +
>  +    prefetch(chan->completion_virt);
>  +
>  +    if (!spin_trylock(&chan->cleanup_lock))
>  +            return;
>  +

spin_trylock() is a red flag.  It often means that someone screwed their
locking up.

It at least needs a comment explaining its presence.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to