Re: [PATCH 0/2] Revert and rework on the metadata accelreation

Jason Gunthorpe
2019-09-07T15:03:41Z

On Fri, Sep 06, 2019 at 06:02:35PM +0800, Jason Wang wrote:
>
> On 2019/9/5 下午9:59, Jason Gunthorpe wrote:
> > On Thu, Sep 05, 2019 at 08:27:34PM +0800, Jason Wang wrote:
> > > Hi:
> > >
> > > Per request from Michael and Jason, the metadata accelreation is
> > > reverted in this version and rework in next version.
> > >
> > > Please review.
> > >
> > > Thanks
> > >
> > > Jason Wang (2):
> > > Revert "vhost: access vq metadata through kernel virtual address"
> > > vhost: re-introducing metadata acceleration through kernel virtual
> > > address
> > There are a bunch of patches in the queue already that will help
> > vhost, and I a working on one for next cycle that will help alot more
> > too.
>
>
> I will check those patches, but if you can give me some pointers or keywords
> it would be much appreciated.

You can look here:

https://github.com/jgunthorpe/linux/commits/mmu_notifier

The first parts, the get/put are in the hmm tree, and the last part,
the interval tree in the last commit is still a WIP, but it would
remove alot of that code from vhost as well.

Jason