summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhenghui Hao <zhenghui.hao@qq.com>2026-09-23 10:28:58 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-24 01:56:21 -0700
commit1a5c751385dc87a65235ea1511f70473994ededf (patch)
tree937d20c55f5842b564a9fe145825dda3b9d0ae5e /tools/perf/scripts/python/stackcollapse.py
parente2a1d080f51070fb4dcc74d352ae86eca5fb5bab (diff)
hugetlbfs: fix stale comment in hugetlbfs_file_mmap()
The comment above the VMA flag setup in hugetlbfs_file_mmap() says the VMA address alignment has already been checked by prepare_hugepage_range(). That function no longer exists: it was removed by commit eff41389d824 ("mm/hugetlb: remove prepare_hugepage_range()"), and the check now lives in hugetlb_get_unmapped_area(). The comment also mentions ia64, which was removed from the tree by commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture"). Point the comment at the current function and drop the ia64 reference. The rest of the comment, which tells future edits to add any error return only after VM_HUGETLB has been set, is still accurate and is left untouched. No functional change. Link: https://lore.kernel.org/tencent_AA61551D1F50E61F46C8542F5C8874512C05@qq.com Signed-off-by: Zhenghui Hao <zhenghui.hao@qq.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Muchun Song <muchun.song@linux.dev> Cc: Oscar Salvador <osalvador@suse.de> Cc: David Hildenbrand <david@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions