[dpdk-dev] [dpdk-stable] [PATCH v3] eal/mem: preallocate VA space in no-huge mode

David Marchand david.marchand at redhat.com
Fri Mar 27 11:16:06 CET 2020


On Wed, Mar 25, 2020 at 3:39 PM David Marchand
<david.marchand at redhat.com> wrote:
>
> On Fri, Feb 7, 2020 at 12:11 PM Anatoly Burakov
> <anatoly.burakov at intel.com> wrote:
> >
> > When --no-huge mode is used, the memory is currently allocated with
> > mmap(NULL, ...). This is fine in most cases, but can fail in cases
> > where DPDK is run on a machine with an IOMMU that is of more limited
> > address width than that of a VA, because we're not specifying the
> > address hint for mmap() call.
> >
> > Fix it by preallocating VA space before mapping it.
> >
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Tested-by: David Marchand <david.marchand at redhat.com>
Tested-by: Jun W Zhou <junx.w.zhou at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list