On Wed, Jan 28, 2026 at 12:06:01AM +0100, David Hildenbrand (Red Hat) wrote:
> I'd go for
> 
>       EXPORT_SYMBOL_FOR_MODULES(__add_memory_driver_managed, "dax")
> 
> (or would it be the kmem module?)
> 

it would be kmem.

I'll let the accelerator folks argue for loosening the restriction for
OOT modules, for me I think this is sufficient.

In the long term, for the private-node set, i think this might also be
ok, as the intent is to only allow "enlightened users" access to private
nodes anyway - zones are less important since the driver still has
a say in how memory gets moved there.

(e.g. compressed-memory is a demotion-only target, which implies only
 only movable allocations can occur there... so zones are mostly
 pointless and the whole policy setup can be ignored and the original
 interface can just be used)

~Gregory

Reply via email to