[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z5x3GQAzN3S-plD9@infradead.org>
Date: Thu, 30 Jan 2025 23:09:13 -0800
From: Christoph Hellwig <hch@...radead.org>
To: "Vishal Moola (Oracle)" <vishal.moola@...il.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, hch@...radead.org, urezki@...il.com,
intel-gfx@...ts.freedesktop.org
Subject: Re: [PATCH 1/2] mm/vmalloc: Introduce vmap_file()
On Thu, Jan 30, 2025 at 04:18:05PM -0800, Vishal Moola (Oracle) wrote:
> + rcu_read_lock();
> + xas_for_each(&xas, folio, last) {
This only maps folios currently in the page cache, which makes it
usefull for everything except ramfs-style purely in-memory file systems.
I.e. for the shmem use case in the second patch it fails to swap in
swapped out tmpfs folios.
> +EXPORT_SYMBOL(vmap_file);
EXPORT_SYMBOL_GPL for any advances vmalloc-layer functionality, please.
Powered by blists - more mailing lists