[PATCH] graph: fix head move when graph walk in mcore dispatch
Wu, Jingjing
jingjing.wu at intel.com
Wed Mar 20 07:25:26 CET 2024
> > /* skip the src nodes which not bind with current worker */
> > if ((int32_t)head < 0 && node->dispatch.lcore_id != graph-
> > >dispatch.lcore_id)
> > continue;
> > -
> > + head++;
> If current src node not bind with current core, It will go into infinite loop.
> This line would have no chance to run.
Seems reasonable, it might be OK to change "head<0" to "head <1" the condition check?
More information about the stable
mailing list