Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753105AbeAKApO (ORCPT + 1 other); Wed, 10 Jan 2018 19:45:14 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:37736 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752661AbeAKApN (ORCPT ); Wed, 10 Jan 2018 19:45:13 -0500 X-Google-Smtp-Source: ACJfBottizbGesay2aiEbWEfHAoPPFoyuHKtatAHoZM0ipmm5HKHGDpnfcK3aRy7z/FG6auTCNQVzw== Date: Thu, 11 Jan 2018 09:45:08 +0900 From: Sergey Senozhatsky To: Tejun Heo Cc: Sergey Senozhatsky , "Paul E. McKenney" , linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: RCU: Call touch_nmi_watchdog() while printing stall warnings Message-ID: <20180111004508.GA3320@jagdpanzerIV> References: <20180109184709.GN3668920@devbig577.frc2.facebook.com> <20180110053450.GA1063@jagdpanzerIV> <20180110145743.GD3668920@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180110145743.GD3668920@devbig577.frc2.facebook.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On (01/10/18 06:57), Tejun Heo wrote: [..] > > diff --git a/kernel/workqueue.c b/kernel/workqueue.c > > index 9960f8842b31..649c00a9af12 100644 > > --- a/kernel/workqueue.c > > +++ b/kernel/workqueue.c > > @@ -48,6 +48,7 @@ > > #include > > #include > > #include > > +#include > > > > #include "workqueue_internal.h" > > > > @@ -4473,6 +4474,8 @@ void show_workqueue_state(void) > > if (pwq->nr_active || !list_empty(&pwq->delayed_works)) > > show_pwq(pwq); > > spin_unlock_irqrestore(&pwq->pool->lock, flags); > > + > > + touch_nmi_watchdog(); > > Can you send a patch w/ signed-off-by adding touch_nmi_watchdog() to > both outer loops in that function. Theoretically, we can have a lot > of pools too. thanks. will do. -ss