+1
−1
+1
−12
+7
−1
+38
−3
Loading
This requires saving the original core for each thread. Thankfully it is very easy to just store it in the spdk_lw_thread. Then we just run ->balance() once after the static scheduler is re-installed to put all of the threads back to their original lcores, and take all cores out of interrupt mode. Note: 82c466 required bumping SO_VER due to adding trace_id to struct spdk_reactor. But that didn't change the size of the structure. For some unexplained reason, adding initial_lcore to the private struct lw_thread in this patch results in abidiff no longer reporting the trace_id change, and check_so_deps.sh fails saying the SO_VER bump is no longer needed. A patch that simply adds the initial_lcore member, with no other code changes, triggers the same error. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I9d1ace726617d95f89f42959c9c2c36602fb7f77 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24765 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>