From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlS45-0007Vy-Qx for barebox@lists.infradead.org; Wed, 17 Jun 2020 07:00:55 +0000 Date: Wed, 17 Jun 2020 09:00:51 +0200 From: Sascha Hauer Message-ID: <20200617070051.GX11869@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v3 10/14] poller: Allow to run pollers inside of pollers To: Daniel =?iso-8859-15?Q?Gl=F6ckner?= Cc: Barebox List On Mon, Jun 15, 2020 at 07:20:43PM +0200, Daniel Gl=F6ckner wrote: > From: Sascha Hauer > = > This adds a slice to each poller which is acquired before the poller is > executed. This allows us to run pollers inside of other pollers. Letting pollers run inside of pollers is only necessary when pollers have dependencies to other pollers. I don't think anymore that we should allow this. Dependencies between pollers make the whole think more complicated. Also pollers should be short lived and adding dependencies between them contradicts this. Therefore I want to make another suggestion how we can solve this. The series should be ready later this day. 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox