f74d069ec0
CPU profiling on workloads with intensive vtophys operations (i.e. very small CB-DMA transfers) exposed overhead introduce by spdk_vtophys having to call spdk_mem_map_translate in a different compilation unit. Let's just move the vtophys.c contents into memory.c so that spdk_vtophys can inline spdk_mem_map_translate and avoid this extra overhead. This of course breaks the memory and vtophys unit tests, so some additional changes are needed there to keep everything linking correctly. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I295ed5f441d3eec7abdbc9d881c49d2174ec9f48 Reviewed-on: https://review.gerrithub.io/c/444975 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
config_converter | ||
cpp_headers | ||
env | ||
event | ||
ftl | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
nvme | ||
nvmf | ||
ocf | ||
pmem | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
Makefile | ||
spdk_cunit.h |