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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 28, 2017 at 07:32:59AM +0200, Leon Romanovsky wrote:
> 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@xxxxxxxxxxxx>
> > >
> > > 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.

So the possibility of an uninited SRCU existed before and this is
fixing a bug? I had the impression this series was introducing that
possibility...

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux