On Wed, 23 Aug 2017 09:47:22 -0500
Gabriel Carrillo wrote:
> __TIMER_STAT_ADD(manage, 1);
> - /* optimize for the case where per-cpu list is empty */
> - if (priv_timer[lcore_id].pending_head.sl_next[0] == NULL)
> - return;
> - cur_time = rte_get_timer_cycles();
> +
Instead of each priv_timer struct containing a single skiplist, this
commit adds a skiplist for each enabled lcore to priv_timer. In the case
that multiple lcores repeatedly install timers on the same target lcore,
this change reduces lock contention for the target lcore's skiplists and
increases p
2 matches
Mail list logo