Re: [PATCH RFC 0/6] Allow file-backed or shared device private pages
From: Christoph Hellwig
Date: Mon Apr 07 2025 - 05:19:36 EST
On Wed, Mar 26, 2025 at 02:14:59AM +0000, Matthew Wilcox wrote:
> So, there's no need to put DEVICE_PRIVATE pages in the page cache.
> Instead the GPU will take a copy of the page(s). We agreed that there
> will have to be some indication (probably a folio flag?) that the GPU has
> or may have a copy of (some of) the folio so that it can be invalidated
> if the page is removed due to truncation / eviction.
Sounds like layout leases used for pnfs.