From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37AB0C433E0 for ; Fri, 19 Feb 2021 11:26:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DBCCF64E5C for ; Fri, 19 Feb 2021 11:26:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230511AbhBSL0r (ORCPT ); Fri, 19 Feb 2021 06:26:47 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:49856 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230144AbhBSLY1 (ORCPT ); Fri, 19 Feb 2021 06:24:27 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 1E8951C0B8F; Fri, 19 Feb 2021 12:23:44 +0100 (CET) Date: Fri, 19 Feb 2021 12:23:43 +0100 From: Pavel Machek To: Greg Kroah-Hartman Cc: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , kernel@pengutronix.de, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 2/2] leds: trigger/tty: Use led_set_brightness_sync() from workqueue Message-ID: <20210219112343.GM19207@duo.ucw.cz> References: <20210219082955.5007-1-u.kleine-koenig@pengutronix.de> <20210219082955.5007-2-u.kleine-koenig@pengutronix.de> <20210219094632.GB5641@duo.ucw.cz> <20210219095254.ky33qlb3cvy5btpe@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OGW1Z2JKiS9bXo17" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --OGW1Z2JKiS9bXo17 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri 2021-02-19 11:41:49, Greg Kroah-Hartman wrote: > On Fri, Feb 19, 2021 at 10:52:54AM +0100, Uwe Kleine-K=F6nig wrote: > > On Fri, Feb 19, 2021 at 10:46:32AM +0100, Pavel Machek wrote: > > > On Fri 2021-02-19 09:29:55, Uwe Kleine-K=F6nig wrote: > > > > led_set_brightness() involves scheduling a workqueue. As here the l= ed's > > > > brightness setting is done in context of the trigger's workqueue th= is is > > > > unjustified overhead and it's more sensible to use > > > > led_set_brightness_sync(). > > >=20 > > > Acked-by: Pavel Machek > >=20 > > Who is expected to pick these two up? I assume Greg as the commit that > > is fixed here is only in his try for now? >=20 > I will do so once Linus takes my existing pull request, don't worry, > they will make it into 5.12-final. It seems like the label is now unused, so this causes warnings... see the bot output. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --OGW1Z2JKiS9bXo17 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYC+fvwAKCRAw5/Bqldv6 8v6OAKCKVEUvoMRrXOlNNd45DyYSeXMJXQCgqnbS0QHMKQ/Hy0E4szHMucpA5zw= =67mF -----END PGP SIGNATURE----- --OGW1Z2JKiS9bXo17--