Loading
llvm_nvme_fuzz: add exit handler
When the LLVM fuzzer is done, it calls exit(0) explicitly. This triggers the DPDK exit handler to run which starts unmapping huge pages while our reactor thread is still running. Currently, this doesn't cause any problems since the fuzzing thread and reactor thread are running on the same core. But the next patch will unaffinitize the fuzzing thread, meaning that the reactor thread will be actively trying to read hugepage memory while the fuzzing thread is in DPDK exit handlers unmapping that same memory. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Ie304ebbb1962855796dac699849a0726cfdcd0d4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12406 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
John Kariuki <John.K.Kariuki@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>