[PATCH v2 1/2] staging: greybus: loopback: use gb_loopback_async_wait_all don't spin
Johan Hovold
johan at kernel.org
Mon Jan 2 14:06:20 UTC 2017
On Thu, Dec 22, 2016 at 12:37:28AM +0000, Bryan O'Donoghue wrote:
> Currently the greybus-loopback thread logic spins around waiting for
> send_count == iteration_max which on real hardware doesn't make a
> difference to us but in simulation is excruciatingly slow, anti-social and
> bad manners. Use the existing gb_loopback_async_wait_all() function to gate
> continuing when the send_count == iteration_max and go to sleep until
> there's something worthwhile to-do.
>
> Signed-off-by: Bryan O'Donoghue <pure.logic at nexus-software.ie>
Reviewed-by: Johan Hovold <johan at kernel.org>
More information about the devel
mailing list