All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] IB/rxe: Fix kernel panics when tearing down QPs
@ 2016-12-05 13:42 Andrew Boyer
       [not found] ` <1480945335-2577-1-git-send-email-andrew.boyer-8PEkshWhKlo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Boyer @ 2016-12-05 13:42 UTC (permalink / raw)
  To: monis-VPRAkNaXOzVWk0Htik3J/w, yonatanc-VPRAkNaXOzVWk0Htik3J/w,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA
  Cc: Andrew Boyer

This is a set of two patches that prevent kernel panics seen when tearing
down QPs. The second patch (holding refs in tasklets) might or might not be
needed once the first patch (waiting for tasklets to finish) is applied.
Feedback welcomed.

Update for v2:
 - Remove default initialization of idle in rxe_cleanup_task() per review

Andrew Boyer (2):
  IB/rxe: Wait for tasklets to finish before tearing down QP
  IB/rxe: Hold refs when running tasklets

 drivers/infiniband/sw/rxe/rxe_comp.c |  4 ++++
 drivers/infiniband/sw/rxe/rxe_req.c  |  4 ++++
 drivers/infiniband/sw/rxe/rxe_resp.c |  3 +++
 drivers/infiniband/sw/rxe/rxe_task.c | 19 +++++++++++++++++++
 drivers/infiniband/sw/rxe/rxe_task.h |  1 +
 5 files changed, 31 insertions(+)

-- 
1.8.3.1

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 0/2] IB/rxe: Fix kernel panics when tearing down QPs
       [not found] ` <1480945335-2577-1-git-send-email-andrew.boyer-8PEkshWhKlo@public.gmane.org>
@ 2016-12-12 21:42   ` Doug Ledford
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Ledford @ 2016-12-12 21:42 UTC (permalink / raw)
  To: Andrew Boyer, monis-VPRAkNaXOzVWk0Htik3J/w,
	yonatanc-VPRAkNaXOzVWk0Htik3J/w,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 1067 bytes --]

On 12/5/2016 8:42 AM, Andrew Boyer wrote:
> This is a set of two patches that prevent kernel panics seen when tearing
> down QPs. The second patch (holding refs in tasklets) might or might not be
> needed once the first patch (waiting for tasklets to finish) is applied.
> Feedback welcomed.
> 
> Update for v2:
>  - Remove default initialization of idle in rxe_cleanup_task() per review
> 
> Andrew Boyer (2):
>   IB/rxe: Wait for tasklets to finish before tearing down QP
>   IB/rxe: Hold refs when running tasklets
> 
>  drivers/infiniband/sw/rxe/rxe_comp.c |  4 ++++
>  drivers/infiniband/sw/rxe/rxe_req.c  |  4 ++++
>  drivers/infiniband/sw/rxe/rxe_resp.c |  3 +++
>  drivers/infiniband/sw/rxe/rxe_task.c | 19 +++++++++++++++++++
>  drivers/infiniband/sw/rxe/rxe_task.h |  1 +
>  5 files changed, 31 insertions(+)
> 

Hi Andrew, I took these patches as well.  I had to fix up the second
one, so you might want to double check it.  Thanks.

-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
    GPG Key ID: 0E572FDD


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-12 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-05 13:42 [PATCH v2 0/2] IB/rxe: Fix kernel panics when tearing down QPs Andrew Boyer
     [not found] ` <1480945335-2577-1-git-send-email-andrew.boyer-8PEkshWhKlo@public.gmane.org>
2016-12-12 21:42   ` Doug Ledford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.