+3
−3
Loading
(a5ad0f80) lib/event: update reactor tsc_last going poll mode Patch above updated the tsc_last at the very end of changing interrupt mode of the reactor. The flow for turning from interrupt mode to poll mode is first to send an event to the target lcore, then to iterate over all reactors updating notify_cpuset on each. Previous patch updated the tsc_last after notify_cpuset was updated, meanwhile the threads could already been put on it. This patch moves it immidietly to the point of changing the in_interrupt state. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I6aea252016f4706369b8b597b765593bc6edca3b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8111 Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot