Re: [LSF/MM/BPF TOPIC][RFC PATCH v4 00/27] Private Memory Nodes (w/ Compressed RAM)

From: Gregory Price

Date: Tue Feb 24 2026 - 12:04:09 EST


On Tue, Feb 24, 2026 at 10:17:38AM -0500, Gregory Price wrote:
> - Changing validations on node states
> - mempolicy checks N_MEMORY membership, so you have to hack
> N_MEMORY onto ZONE_DEVICE
> (or teach it about a new node state... N_MEMORY_PRIVATE)
>

This gave me something to chew on

I think this can be done without introducing N_MEMORY_PRIVATE and just
checking: NODE_DATA(target_nid)->private

meaning these nodes can just be N_MEMORY with the same isolations.

I'll look at this a bit more.

~Gregory