diff options
| author | Ye Liu <liuye@kylinos.cn> | 2026-09-15 10:43:31 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-12 21:26:12 -0700 |
| commit | c10ed0f2315a766c4e0932840886f3dc0a17a9c9 (patch) | |
| tree | 223742362d3ce4ce8d631e17c7ca2b80a939607a /tools/perf/scripts/python | |
| parent | ebb07f8a8b0a8b651360d9ec6b2848b71e0534a0 (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
