On Tue, Apr 17, 2018 at 03:22:06PM +0200, Thomas Monjalon wrote: > 12/04/2018 07:16, Junjie Chen: > > From: "Chen, Junjie" <junjie.j.c...@intel.com> > > > > Sometimes gcc does not inline the function despite keyword *inline*, > > we obeserve rte_movX is not inline when doing performance profiling, > > so use *always_inline* keyword to force gcc to inline the function. > > > > Signed-off-by: Chen, Junjie <junjie.j.c...@intel.com> > > --- > > .../common/include/arch/x86/rte_memcpy.h | 22 > > +++++++++++----------- > > 1 file changed, 11 insertions(+), 11 deletions(-) > > The title should start with "eal/x86:" > Something like that: > eal/x86: force inlining of memcpy sub-functions > > Bruce, Konstantin, any review of the content/optimization? > No objection here.
Acked-by: Bruce Richardson <bruce.richard...@intel.com>