[Intel-gfx] [PATCH RFC 0/3] MAP_POPULATE for device memory

Christoph Hellwig hch at infradead.org
Mon Mar 7 07:48:26 UTC 2022


On Sun, Mar 06, 2022 at 11:33:02AM +0000, Matthew Wilcox wrote:
> On Sun, Mar 06, 2022 at 07:32:04AM +0200, Jarkko Sakkinen wrote:
> > For device memory (aka VM_IO | VM_PFNMAP) MAP_POPULATE does nothing. Allow
> > to use that for initializing the device memory by providing a new callback
> > f_ops->populate() for the purpose.
> 
> As I said, NAK.

Agreed.  This is an amazingly bad interface.


More information about the Intel-gfx mailing list