On Mon, Sep 07, 2020 at 03:21:53PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > Restrack stores the IB objects in the internal xarray and insertion > where can fail. As long as restrack was helper tool for the > debuggability, such failure were ignored. > > In the following patches, the ib_core will be changed to manage allocated > IB objects in restrack DB for the proper memory lifetime. It requires to > ensure that insertion errors are not ignored. Why? This looks like it is all about removing valid, not sure what the kref has to do with it.. Jason