Re: [PATCH rdma-next] lib/irq_poll: support schedules in non-interrupt contexts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 06, 2019 at 01:11:49PM -0800, Steve Wise wrote:
> Do not assume irq_poll_sched() is called from an interrupt context only.
> So use raise_softirq_irqoff() instead of __raise_softirq_irqoff() so it
> will kick the ksoftirqd if the schedule is from a non-interrupt context.
> 
> This is required for RDMA drivers, like soft iwarp, that generate cq
> completion notifications in a workqueue or kthread context.  Without this
> change, siw completion notifications to the ULP can take several hundred
> usecs, depending on the system load.
> 
> Signed-off-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
> ---
>  lib/irq_poll.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux