Comment 5 for bug 1859269

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Another patch is also needed for clean cherry-pick

commit 27e19f45108959f99b23a414be391b6a2a282caa
Author: Matthew Wilcox <email address hidden>
Date: Wed Feb 20 16:20:39 2019 -0800

    RDMA/hns: Convert cq_table to XArray

    Change the locking to not disable interrupts as the lookup in interrupt
    context will not see a freed CQ, thanks to the synchronize_irq() call
    before freeing the CQ.

    Signed-off-by: Matthew Wilcox <email address hidden>
    Signed-off-by: Jason Gunthorpe <email address hidden>