Re: [PATCH 0/3] Support for fastboot over UDP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 09, 2020 at 04:38:05PM +0100, Daniel Glöckner wrote:
> Am 03/09/20 um 08:14 schrieb Sascha Hauer:
> > On Fri, Feb 28, 2020 at 09:48:20PM +0100, Daniel Glöckner wrote:
> >> Contrary to U-Boot it does not send keep alive messages every 30
> >> seconds because everything is executed from a poller.
> > 
> > How does that prevent you from sending keep palive messages? Sending
> > packages from a poller should work.
> 
> When long running functions like cb_erase and cb_flash are executed in a
> poller, we can't currently use another poller to check if it is time to
> send a keep alive message.
> 
> If we add a slice to poller_struct that is checked and then acquired in
> poller_call, it would be possible. But as I wrote, we might then want to
> limit the number of pollers executed "in parallel" because of the
> limited stack space.

That's a good idea. I think the stack space won't be a problem as the
number of pollers running in parallel is limited by the number of
existing pollers.

I have updated the series to do exactly that.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux