Re: [PATCH v3 2/3] mm: Change ghes code to allow poison of non-struct pfn

From: Ankit Agrawal
Date: Fri Oct 24 2025 - 07:41:42 EST


>>> IMHO, non-struct page PFNs are common in production environments.
>>> Besides NVIDIA Grace GPU device memory, we also use reserved DRAM memory
>>> managed by a separate VMEM allocator.
>>
>> Can you elaborate on this more?
>
> We reserve a significant portion of DRAM memory at boot time using
> kernel command line parameters. This reserved memory is then managed by
>
> our internal VMEM allocator, which handles memory allocation and
> deallocation for virtual machines.
>
>To minimize memory overhead, we intentionally avoid creating struct
> pages for this reserved memory region.

Thanks Shuai for the explanation and providing the "Reviewed-by". We use
the PFNMAP for the similar reason to save on the memory usage by the
struct pages.

Also as mentioned in the 1/3 patch, I'll move this patch to the top.