[dpdk-dev] [PATCH] memory: make eal_get_virtual_area() aware of base-virtaddr alignment

Burakov, Anatoly anatoly.burakov at intel.com
Fri Jun 15 16:22:10 CEST 2018


On 15-Jun-18 1:24 PM, Dariusz Stojaczyk wrote:
> From: Dariusz Stojaczyk <dariuszx.stojaczyk at intel.com>
> 
> Whenever a calculated base-virtaddr offset had to be
> manually aligned to requested page_sz, we did not take
> account of that alignment in incrementing the base-virtaddr
> offset further. The next requested virtual area could print
> a warning "hint [...] not respected!" and let the system
> pick an address instead. As a result, this breaks secondary
> process support on many system configurations.
> 
> Fixes: b7cc54187ea4 ("mem: move virtual area function in common directory")
> Cc: anatoly.burakov at intel.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk at intel.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list