+5
−1
Loading
get_proc_cpu_affinity() can return an actual list, depending on how the affinity is set for given thread. To make sure this check doesn't suddenly fail, iterate over the entire list. Change-Id: I83c176445992e0495ef5ada56679d7316cb2ff9b Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25405 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>