diff options
author | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2025-04-08 17:15:49 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-05-11 17:48:20 -0700 |
commit | 24c76f37ab3fb2f3a202eaa678334b216f8bd161 (patch) | |
tree | 27acf806022070491caf03e2a31dc00d1c8b2eb9 /rust/helpers/mm.c | |
parent | ce906d7679e1f1feab54bdddac4d39df846d663a (diff) |
vmalloc: use for_each_vmap_node() in purge-vmap-area
Update a __purge_vmap_area_lazy() to use introduced helper. This is last
place in vmalloc code. Also this patch introduces an extra function which
is node_to_id() that converts a vmap_node pointer to an index in array.
__purge_vmap_area_lazy() requires that extra function.
Link: https://lkml.kernel.org/r/20250408151549.77937-3-urezki@gmail.com
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Cc: Christop Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/helpers/mm.c')
0 files changed, 0 insertions, 0 deletions