On 5/6/2025 7:40 PM, Jake Freeland wrote:
Provide the EAL base address as a hint to mmap(2), so device resources
are not mapped where malloc(3) et al. make allocations.

This makes mapping conflicts less likely for secondary processes that
make memory allocations before initializing EAL.

Signed-off-by: Jake Freeland <jf...@freebsd.org>
---

I remember attempting to fix this issue by reserving some amount of address space for PCI devices in a similar way memory subsystem reserves its address space. This doesn't quite do that but is as good a fix as it can get without major rework IMO.

Acked-by: Anatoly Burakov <anatoly.bura...@intel.com>

--
Thanks,
Anatoly

Reply via email to