numam-spdk/lib/env_dpdk
Robert Baldyga d20f41881b spdk_zmalloc: Remove unnecessary memset()
Normally, unless RTE_MALLOC_DEBUG is set, DPDK zeroes memory in rte_free().
If RTE_MALLOC_DEBUG rte_free() fills memory with poison pattern, but then
(and only then) the memory is zeroed in rte_zmalloc_socket(). Relying on
this behavior allows to avoid unnecessary memset() in spdk_zmalloc() path.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
Change-Id: If3efa4dd22f1568949c3fb529b604bd597ceb32f
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6975
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2021-05-11 11:49:06 +00:00
..
env_internal.h Revert "env: Register external memory with DPDK" 2021-04-15 20:22:26 +00:00
env.c spdk_zmalloc: Remove unnecessary memset() 2021-05-11 11:49:06 +00:00
env.mk build: swap pci with bus_pci libs on the list 2021-02-25 10:26:48 +00:00
init.c env/dpdk: Use the DPDK device count for IOMMU mapping 2021-01-22 18:32:53 +00:00
Makefile lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00
memory.c env_dpdk/memory: don't retrun error for VFIO_IOMMU_MAP_DMA ioctl 2021-04-19 19:20:51 +00:00
pci_event.c env: extend the use of event listen 2021-04-16 19:21:13 +00:00
pci_idxd.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_ioat.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_virtio.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_vmd.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci.c env_dpdk: save hotplug timeout timestamps separate from rte_devargs 2021-04-23 08:16:24 +00:00
sigbus_handler.c lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00
spdk_env_dpdk.map lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00
threads.c Revert "thread: add spdk_env_get_primary_core" 2020-07-29 14:58:44 +00:00