Re: [PATCH 08/30] mm/rmap: rename vma_interval_tree_*() to mapping_interval_tree_*()
Gregory Price <[email protected]> Tue, 30 Jun 2026 11:42:18 -0400
| Newsgroups | org.kernel.vger.linux-sgx,dev.linux.lists.damon,dev.linux.lists.iommu,dev.linux.lists.nvdimm,org.freedesktop.lists.dri-devel,org.kernel.vger.kvm,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-parisc,org.kernel.vger.linux-perf-users,org.kernel.vger.linux-tegra,org.kernel.vger.linux-trace-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <akPj2snngOp5nOYq@gourry-fedora-PF4VCD3F> |
On Mon, Jun 29, 2026 at 01:23:19PM +0100, Lorenzo Stoakes wrote: > The family of vma_interval_tree_() functions manipulate the > address_space (which, of course, is generally referred to as 'mapping') > reverse mapping, but are named the 'VMA' interval tree. > > VMAs may be mapped by an anon_vma, an address_space, or both. Therefore > calling the mapping interval tree a 'VMA' interval tree is rather > confusing. > > This is also inconsistent with the anon_vma_interval_tree_*() functions > which explicitly reference the rmap object to which they pertain. > > Rename the vma_interval_tree_*() functions to mapping_interval_tree_*() to > correct this. > > No functional change intended. > > Signed-off-by: Lorenzo Stoakes <[email protected]> obligatory "naming is hard", this patch helps, thank you. Reviewed-by: Gregory Price <[email protected]>