Spdk/lib/env_ocf
Sebastian Brzezinka 3a14cb3a0f lib/env_ocf: place allocator variable on hugepages
When using `__lsan_do_recoverable_leak_check` (e.g when fuzzing),
to check for leaks during runtime. Leak sanitizer can not follow
reference of memory that is allocated on heap (e.g. calloc)
and then stored on hugepage causing lsan to incorrectly report
direct leak.

Fixes #2967

Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Change-Id: I3511e117a07ca8daa96f19bf1437c0d788b64cb1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17682
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Amir Haroush <amir.haroush@huawei.com>
2023-05-09 17:58:11 +08:00
..
.gitignore lib/mk: update OCF build. 2019-08-27 18:49:56 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
mpool.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
mpool.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ocf_env_headers.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ocf_env_list.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ocf_env.c lib/env_ocf: place allocator variable on hugepages 2023-05-09 17:58:11 +08:00
ocf_env.h ocf: fix env_ticks_to_{msec,usec,nsec} precision & accuracy 2023-03-21 19:08:59 +00:00