When I tried to enable TSan on DPDK using this patch, DPDK cannot be 
initialized.

When the DPDK initializes the memseg, a large number of address space is 
reserved.
However, The introduction of ThreadSanitizer brings a large amount of memory 
overhead.
As a result, the address space is insufficient and the DPDK cannot be 
initialized.

I fixed it by changing the value of the macro RTE_MAX_MEM_MB,
but I know that's not a good idea. Suggestions are welcome.

Dengdui Huang (1):
  build: support ThreadSanitizer

 config/meson.build | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.33.0

Reply via email to