diff options
| author | 2026-09-15 10:43:31 +0800 | |
|---|---|---|
| committer | 2026-10-12 21:26:12 -0700 | |
| commit | c10ed0f2315a766c4e0932840886f3dc0a17a9c9 (patch) | |
| tree | 223742362d3ce4ce8d631e17c7ca2b80a939607a /scripts/Makefile.thinlto | |
| parent | mm/vmalloc: group xa_init with vbq field initializations (diff) | |
mm/vmalloc: extract vmap_insert_free_area helper
The allocation and insertion of a free vmap_area is duplicated between the
loop body and the tail of vmap_init_free_space. Factor it into a small
helper so the main function only deals with computing the free gaps
between busy regions.
Link: https://lore.kernel.org/20260915-vmalloc_study-v2-2-cc4dfe635e22@linux.dev
Signed-off-by: Ye Liu <liuye@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
