RE: [PATCH v7 rdma-next 1/7] RDMA/core: Move core content from ib_uverbs to ib_core

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

 



> From: linux-rdma-owner@xxxxxxxxxxxxxxx <linux-rdma-
> owner@xxxxxxxxxxxxxxx> On Behalf Of Michal Kalderon
> 
> > From: linux-rdma-owner@xxxxxxxxxxxxxxx <linux-rdma-
> > owner@xxxxxxxxxxxxxxx> On Behalf Of Jason Gunthorpe
> >
> > On Tue, Aug 20, 2019 at 03:18:41PM +0300, Michal Kalderon wrote:
> > > Move functionality that is called by the driver, which is related to
> > > umap, to a new file that will be linked in ib_core.
> > > This is a first step in later enabling ib_uverbs to be optional.
> > > vm_ops is now initialized in ib_uverbs_mmap instead of priv_init to
> > > +
> > > +	mutex_lock(&ufile->umap_lock);
> > > +	list_add(&priv->list, &ufile->umaps);
> > > +	mutex_unlock(&ufile->umap_lock);
> > > +}
> > > +EXPORT_SYMBOL(rdma_umap_priv_init);
> >
> > Does rdma_umap_open need to set ops too, or does the VM initialize it
> > already?
> Will double check
Verified this, the vm initialize already sets it, there's no need to set it again. 

> >
> > Jason




[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