Re: [PATCH rdma-next 6/6] IB/mlx5: Move locks initialization to the corresponding stage

Leon Romanovsky
2017-12-28T05:32:59Z

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

On Wed, Dec 27, 2017 at 10:18:06PM -0700, Jason Gunthorpe wrote:
> On Sun, Dec 24, 2017 at 02:40:15PM +0200, Leon Romanovsky wrote:
> > From: Mark Bloch <markb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> >
> > Unconditional locks/list initialization should be done in the INIT stage.
> > Remove those from the CAPS stage and move them to the proper stage.
>
> So why not always initialize the srcu instead of using that wonky
> callback function?

Maybe, but now, it is out of scope for this series, which more or less
moves code from one place to another.

Thanks

>
> Jason

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]