+11
−1
Loading
We already hold thehe next closest timed poller in tmp. Inlining poller_remove_timer() into thread_poll() makes the cache update more efficient. After this patch, poller_remove_timer() is called only in a single case and the case is compiled only on Linux. So add it inside of a temporary block is much clearner. However it will be used by spdk_poller_reschedule() in the end of this patch series. So keep the current position. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I2e6858223713eed84f5d70b160da6122edae6d03 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7910 Community-CI: Mellanox Build Bot 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> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>