On Wed, Jun 08, 2022 at 04:28:19PM +0300, Aharon Landau wrote: > Isn't it a problem to store an mkey before ib_umem_release()? Shouldn't, the mkey has no connection to the umem other than the umem was used as the source of DMA addresses to put in the mkey. Previously it was ordered the way it was because thr mr->umem pointer would get overwritten as soon as the mr was put in the cache, but now that the mr is just freed that isn't a problem. Jason