summaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorYe Liu <liuye@kylinos.cn>2025-03-28 09:20:31 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:48:09 -0700
commit3a531a9939623e13cf798e9ef5e7edd3e74fe733 (patch)
tree0a43159012fab20c5d6b64ed6f0be4d5d7a69eaa /mm/vmalloc.c
parentcf42d4cccf0d01e375175393776a16dc47b9996f (diff)
mm/page_alloc: simplify free_page_is_bad by removing free_page_is_bad_report
Refactor free_page_is_bad() to call bad_page() directly, removing the intermediate free_page_is_bad_report(). This reduces unnecessary indirection, improving code clarity and maintainability without changing functionality. Link: https://lkml.kernel.org/r/20250328012031.1204993-1-ye.liu@linux.dev Signed-off-by: Ye Liu <liuye@kylinos.cn> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions