[dpdk-dev] [PATCH v5 1/1] eal/linux: change hugepage sorting to avoid overlapping memcpy

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Mar 2 17:13:35 CET 2016


2016-01-07 15:54, Ralf Hoffmann:
> with only one hugepage or already sorted hugepage addresses, the sort
> function called memcpy with same src and dst pointer. Debugging with
> valgrind will issue a warning about overlapping area. This patch changes
> the sort method to qsort to avoid this behavior. The separate sort
> function is no longer necessary.
> 
> Signed-off-by: Ralf Hoffmann <ralf.hoffmann at allegro-packets.com>
> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>

Added ref to Jay Rolette and
Applied, thanks


More information about the dev mailing list