+4
−12
+2
−2
+1
−1
+2
−2
Loading
Following the recent effort, allocate struct spdk_cpuset statically for struct spdk_vhost_dev. In vhost_dev_register(), a dynamically allocated cpumask had been set to spdk_vhost_dev, but change it to spdk_cpuset_copy(). So use local cpuset instance in vhost_dev_register() accordingly. To reduce the size of patch, this patch doesn't include the change for g_tmp_cpuset. This will be done by the next patch. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ic97753d1f470cbfd9ae7fc7f2af8ced5a31c8477 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478578 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>