[EXTERNAL] [PATCH] trace: force 8 byte alignment when --no-huge is used

Thomas Monjalon thomas at monjalon.net
Wed Sep 24 16:54:29 CEST 2025


24/07/2025 13:05, Jerin Jacob:
> From: David Christensen <drc at linux.ibm.com>
> > 
> > Current code in eal_trace_init() specifies 8 byte alignment for CTF generation,
> > but fallback code in __rte_trace_mem_per_thread() does not enforce similar
> > requirements when calling malloc(). Modify fallback heap requests to use
> > posix_memalign()
> > Current code in eal_trace_init() specifies 8 byte alignment for CTF generation,
> > but fallback code in __rte_trace_mem_per_thread() does not enforce similar
> > requirements when calling malloc(). Modify fallback heap requests to use
> > posix_memalign() with proper alignment.
> > 
> > Signed-off-by: David Christensen <drc at linux.ibm.com>
> 
> 
> Acked-by: Jerin Jacob <jerinj at marvell.com>
> 
> > Bugzilla-ID: 1715

Applied, thanks.

Note: seems unrelated to --no-huge, so dropped from the title.





More information about the dev mailing list