On Sun, 29 Sep 2024 17:32:12 +0800 "qiwu.chen" <qiwuchen55@xxxxxxxxx> wrote: > Commit acd4b2ecf3bb2 ("fs/procfs: extract logic for getting VMA name > constituents") introduces a generic helper to get VMA name constituents. > Currently, it's statically defined and referenced in fs/proc/task_mmu.c, > which is not opened to users who want to query VMA name more efficiently. > > This patch moves get_vma_name() from procfs to mm/mmap.c, and export it > for modules usage. We will want to see (and review) the code which calls this function and that code should be part of the mainline kernel tree.