diff options
| author | Ye Liu <liuye@kylinos.cn> | 2026-09-15 10:43:31 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-09-29 23:13:26 -0700 |
| commit | 944ea0d1884cadeb5b0b60136722acf23af28431 (patch) | |
| tree | bfdb8837bb51ead5805fb30a3f48c6d49347e176 /scripts/patch-kernel | |
| parent | 1533d83157d2a095383ece2d1b272fa217d9687d (diff) | |
| download | linux-next-944ea0d1884cadeb5b0b60136722acf23af28431.tar.gz linux-next-944ea0d1884cadeb5b0b60136722acf23af28431.zip | |
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/patch-kernel')
0 files changed, 0 insertions, 0 deletions
