Re: [PATCH 1/3] mm: Export vmf_insert_mixed_mkwrite()

From: Christoph Hellwig
Date: Wed Apr 09 2025 - 06:50:02 EST


On Tue, Apr 08, 2025 at 11:36:44AM -0700, mhkelley58@xxxxxxxxx wrote:
> From: Michael Kelley <mhklinux@xxxxxxxxxxx>
>
> Export vmf_insert_mixed_mkwrite() for use by fbdev deferred I/O code,

But they are using this on dma coherent memory, where you can't legally
get at the page. As told last time you need to fix that first before
hacking around that code.

> which can be built as a module. For consistency with the related function
> vmf_insert_mixed(), export without the GPL qualifier.

No. All advanced new Linux functionality must be _GPL. Don't try to
sneak around that.