Thread (1 message) 1 message, 1 author, 2017-03-09

Re: [PATCH 2/5] rds: ib: replace spin_lock_irq with spin_lock_irqsave

From: Santosh Shilimkar <hidden>
Date: 2017-03-09 16:50:14
Also in: linux-rdma

On 3/8/2017 11:26 PM, Zhu Yanjun wrote:
It is difficult to make sure the state of the interrupt when this
function is called. As such, it is safer to use spin_lock_irqsave
than spin_lock_irq.
There is no reason to hold irqs  and as such the code path is
safe from irq context. I don't see need of this change unless
you have test case which showed some issue.

Regards,
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help