Re: [PATCH v4 5/6] mm/vmalloc: map contiguous pages in batches for vmap() if possible

From: Wen Jiang

Date: Mon Jul 06 2026 - 04:11:15 EST


On Mon, 6 Jul 2026 at 04:35, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> Also I added
> https://lore.kernel.org/20260630184129.4B62B1F00A3A@xxxxxxxxxxxxxxx

Hi Andrew,

For the unused "start" variable, v5 will keep "addr" unchanged and use a
"batch_end" as the batching cursor. Then flush_cache_vmap() can use the
original "addr" directly.

Thanks,
Wen