Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503717 > unrolled thread

[PATCH 0/2] IB/rdmavt: cq ktrhead worker fix and API update

Started byPetr Mladek <pmladek@suse.com>
First post2016-10-19 16:40 +0200
Last post2016-10-20 15:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] IB/rdmavt: cq ktrhead worker fix and API update Petr Mladek <pmladek@suse.com> - 2016-10-19 16:40 +0200
    Re: [PATCH 0/2] IB/rdmavt: cq ktrhead worker fix and API update "Dalessandro, Dennis" <dennis.dalessandro@intel.com> - 2016-10-20 15:00 +0200

#1503717 — [PATCH 0/2] IB/rdmavt: cq ktrhead worker fix and API update

FromPetr Mladek <pmladek@suse.com>
Date2016-10-19 16:40 +0200
Subject[PATCH 0/2] IB/rdmavt: cq ktrhead worker fix and API update
Message-ID<su02u-2rf-83@gated-at.bofh.it>
The kthread worker API has been improved in 4.9-rc1. The 2nd
patch uses the new functions and simplifies the kthread worker
creation and destroying.

I have found a possible race when working on the API conversion.
A proposed fix is in the 1st patch.

Both changes are compile tested only. I did not find an easy way
how to test them at runtime.

Petr Mladek (2):
  IB/rdmavt: Avoid queuing work into a destroyed cq kthread worker
  IB/rdmavt: Handle the kthread worker using the new API

 drivers/infiniband/sw/rdmavt/cq.c | 64 +++++++++++++++++----------------------
 1 file changed, 27 insertions(+), 37 deletions(-)

-- 
1.8.5.6

[toc] | [next] | [standalone]


#1504866

From"Dalessandro, Dennis" <dennis.dalessandro@intel.com>
Date2016-10-20 15:00 +0200
Message-ID<sul6V-7G3-19@gated-at.bofh.it>
In reply to#1503717
On Wed, 2016-10-19 at 14:07 +0200, Petr Mladek wrote:
> The kthread worker API has been improved in 4.9-rc1. The 2nd
> patch uses the new functions and simplifies the kthread worker
> creation and destroying.
> 
> I have found a possible race when working on the API conversion.
> A proposed fix is in the 1st patch.
> 
> Both changes are compile tested only. I did not find an easy way
> how to test them at runtime.
> 
> Petr Mladek (2):
>   IB/rdmavt: Avoid queuing work into a destroyed cq kthread worker
>   IB/rdmavt: Handle the kthread worker using the new API
> 
>  drivers/infiniband/sw/rdmavt/cq.c | 64 +++++++++++++++++----------
> ------------
>  1 file changed, 27 insertions(+), 37 deletions(-)

Thanks for the patches. I'm going to take a closer look, I just now
seen these.

-Denny

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web