From: Jason Gunthorpe <jgg@nvidia.com>
To: Bob Pearson <rpearsonhpe@gmail.com>
Cc: matsuda-daisuke@fujitsu.com, zyjzyj2000@gmail.com,
linux-rdma@vger.kernel.org, Ian Ziemba <ian.ziemba@hpe.com>
Subject: Re: [PATCH v8 for-next] RDMA/rxe: Add workqueue support for tasks
Date: Wed, 17 May 2023 15:38:22 -0300 [thread overview]
Message-ID: <ZGUfHp6+RF5iO2O8@nvidia.com> (raw)
In-Reply-To: <20230428171321.5774-1-rpearsonhpe@gmail.com>
On Fri, Apr 28, 2023 at 12:13:22PM -0500, Bob Pearson wrote:
> Replace tasklets by work queues for the three main rxe tasklets:
> rxe_requester, rxe_completer and rxe_responder.
>
> Rebased to current for-next branch with changes, below, applied.
>
> Link: https://lore.kernel.org/linux-rdma/20230329193308.7489-1-rpearsonhpe@gmail.com/
> Signed-off-by: Ian Ziemba <ian.ziemba@hpe.com>
> Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
> Reviewed-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
> Tested-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
> ---
> v8:
> Corrected a soft cpu lockup by testing return value from task->func
> for all task states.
> Removed WQ_CPU_INTENSIVE flag from alloc_workqueue() since documentation
> shows that this has no effect if WQ_UNBOUND is set.
> Removed work_pending() call in __reserve_if_idle() since by design
> a task cannot be pending and idle at the same time.
> Renamed __do_task() to do_work() per a comment by Diasuke Matsuda.
> v7:
> Adjusted so patch applies after changes to rxe_task.c.
> v6:
> Fixed left over references to tasklets in the comments.
> Added WQ_UNBOUND to the parameters for alloc_workqueue(). This shows
> a significant performance improvement.
> v5:
> Based on corrected task logic for tasklets and simplified to only
> convert from tasklets to workqueues and not provide a flexible
> interface.
> ---
> drivers/infiniband/sw/rxe/rxe.c | 9 ++-
> drivers/infiniband/sw/rxe/rxe_task.c | 108 +++++++++++++++------------
> drivers/infiniband/sw/rxe/rxe_task.h | 6 +-
> 3 files changed, 75 insertions(+), 48 deletions(-)
Applied to for-next, thanks
Jason
next prev parent reply other threads:[~2023-05-17 18:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-28 17:13 [PATCH v8 for-next] RDMA/rxe: Add workqueue support for tasks Bob Pearson
2023-05-08 8:18 ` Daisuke Matsuda (Fujitsu)
2023-05-17 18:38 ` Jason Gunthorpe [this message]
2023-05-17 19:20 ` Bob Pearson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZGUfHp6+RF5iO2O8@nvidia.com \
--to=jgg@nvidia.com \
--cc=ian.ziemba@hpe.com \
--cc=linux-rdma@vger.kernel.org \
--cc=matsuda-daisuke@fujitsu.com \
--cc=rpearsonhpe@gmail.com \
--cc=zyjzyj2000@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.