diff options
| author | Ye Liu <liuye@kylinos.cn> | 2026-09-15 10:43:30 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-09-29 23:13:26 -0700 |
| commit | 1533d83157d2a095383ece2d1b272fa217d9687d (patch) | |
| tree | 2e4e2e99db7a963d9b59bfeaa2a8b5ba1d4b4ff3 /scripts/patch-kernel | |
| parent | 1a6d6fabffb3e290c4dfb70ac9cd41372883739c (diff) | |
| download | linux-next-1533d83157d2a095383ece2d1b272fa217d9687d.tar.gz linux-next-1533d83157d2a095383ece2d1b272fa217d9687d.zip | |
mm/vmalloc: group xa_init with vbq field initializations
Patch series "mm/vmalloc: minor cleanups", v2.
Small cleanup series for mm/vmalloc.c, no functional changes:
- Group xa_init() with the other vmap_block_queue field initializations
in vmalloc_init(), instead of after the unrelated vfree_deferred setup.
- Extract vmap_insert_free_area() helper to deduplicate the allocate-
and-insert pattern that appeared both inside the loop body and after
the loop in vmap_init_free_space().
- Extract show_busy_info() from vmalloc_info_show(), mirroring the
existing show_purge_info() pattern, so the top-level show function
only orchestrates the two data sources.
This patch (of 3):
Move xa_init() next to the other vbq field initializations instead of
after the unrelated vfree_deferred setup.
Link: https://lore.kernel.org/20260915-vmalloc_study-v2-0-cc4dfe635e22@linux.dev
Link: https://lore.kernel.org/20260915-vmalloc_study-v2-1-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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
