[lng-odp] [PATCH v2 1/2] linux-generic: odp_schedule: fix odp_schdule_wait_time

2015-09-10 Thread Ivan Khoronzhuk
Depending on resolution, a low nsec value could be converted to 0 cycles, wich was specified as ODP_SCHED_WAIT and would instruct a schedule call to wait forever. Also ODP_SCHED_NO_WAIT corresponds to 1 tick, it's rarely but can wait a little, when shced time has slower rate. It should correspond

Re: [lng-odp] [PATCH v2 1/2] linux-generic: odp_schedule: fix odp_schdule_wait_time

2015-09-11 Thread Savolainen, Petri (Nokia - FI/Espoo)
uk > Subject: [lng-odp] [PATCH v2 1/2] linux-generic: odp_schedule: fix > odp_schdule_wait_time > > Depending on resolution, a low nsec value could be converted to 0 > cycles, wich was specified as ODP_SCHED_WAIT and would instruct a > schedule call to wait forever. > > Al