[PATCH 2/4] bus/pci/bsd: Map resources at EAL baseaddr
Burakov, Anatoly
anatoly.burakov at intel.com
Thu May 8 13:31:08 CEST 2025
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 <jfree at 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.burakov at intel.com>
--
Thanks,
Anatoly
More information about the dev
mailing list