Return-path: Received: from smtp4-g21.free.fr ([212.27.42.4]:54842 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753435AbaHZUCT (ORCPT ); Tue, 26 Aug 2014 16:02:19 -0400 Date: Tue, 26 Aug 2014 22:02:08 +0200 From: Sabrina Dubroca To: Valdis.Kletnieks@vt.edu Cc: Samuel Thibault , Hugh Dickins , akpm@linux-foundation.org, Vincent Donnefort , Bryan Wu , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH][input-led] Defer input led work to workqueue Message-ID: <20140826200208.GA11247@kria> (sfid-20140826_220238_497505_2AA58670) References: <20140826015453.GA5235@type.youpi.perso.aquilenet.fr> <3942.1409078958@turing-police.cc.vt.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <3942.1409078958@turing-police.cc.vt.edu> Sender: linux-wireless-owner@vger.kernel.org List-ID: 2014-08-26, 14:49:18 -0400, Valdis.Kletnieks@vt.edu wrote: > On Tue, 26 Aug 2014 03:54:53 +0200, Samuel Thibault said: > > This changeset defers the second led_trigger_event call into a > > workqueue, which avoids the nested locking altogether. This does > > not prevent the user from shooting himself in the foot by creating a > > vt::capsl <-> vt-capsl loop, but the only consequence is the workqueue > > threads eating some CPU until the user breaks the loop, which is not too > > bad. > > > > Signed-off-by: Samuel Thibault > > > > --- a/drivers/input/leds.c > > +++ b/drivers/input/leds.c > > @@ -100,13 +100,25 @@ static unsigned long vt_led_registered[B > > I admit having zero understanding of the code, but I can confirm that > next-20140825 still throws the lockdep whine I was seeing, but the same > tree with this patch on top of it boots without warning. Soo... > > Tested-By: Valdis Kletnieks Same for me. Tested-by: Sabrina Dubroca Thanks, -- Sabrina