Re: [PATCH v10 3/3] dax/kmem: allow kmem to add memory with memmap_on_memory

2023-12-08 Thread Zhijian Li (Fujitsu)
On 07/11/2023 15:22, Vishal Verma wrote: > Large amounts of memory managed by the kmem driver may come in via CXL, > and it is often desirable to have the memmap for this memory on the new > memory itself. > > Enroll kmem-managed memory for memmap_on_memory semantics if the dax > region

[PATCH v10 3/3] dax/kmem: allow kmem to add memory with memmap_on_memory

2023-11-06 Thread Vishal Verma
Large amounts of memory managed by the kmem driver may come in via CXL, and it is often desirable to have the memmap for this memory on the new memory itself. Enroll kmem-managed memory for memmap_on_memory semantics if the dax region originates via CXL. For non-CXL dax regions, retain the