Re: [RFC PATCH 2/4] iommu/vt-d: Add first level page table interfaces

From: Peter Xu
Date: Wed Sep 25 2019 - 00:31:06 EST


On Tue, Sep 24, 2019 at 09:38:53AM +0800, Lu Baolu wrote:
> > > intel_mmmap_range(domain, addr, end, phys_addr, prot)
> >
> > Maybe think of a different name..? mmmap seems a bit weird :-)
>
> Yes. I don't like it either. I've thought about it and haven't
> figured out a satisfied one. Do you have any suggestions?

How about at least split the word using "_"? Like "mm_map", then
apply it to all the "mmm*" prefixes. Otherwise it'll be easily
misread as mmap() which is totally irrelevant to this...

Regards,

--
Peter Xu