DPDK patches and discussions
 help / color / mirror / Atom feed
* [RFC 0/1] support ThreadSanitizer
@ 2025-04-08 13:05 Dengdui Huang
  2025-04-08 13:05 ` [RFC 1/1] build: " Dengdui Huang
  0 siblings, 1 reply; 2+ messages in thread
From: Dengdui Huang @ 2025-04-08 13:05 UTC (permalink / raw)
  To: dev; +Cc: lihuisong, fengchengwen, haijie1, liuyonglong

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-08 13:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 13:05 [RFC 0/1] support ThreadSanitizer Dengdui Huang
2025-04-08 13:05 ` [RFC 1/1] build: " Dengdui Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).