From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752828AbcF2NWc (ORCPT ); Wed, 29 Jun 2016 09:22:32 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:33528 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752775AbcF2NWI (ORCPT ); Wed, 29 Jun 2016 09:22:08 -0400 Date: Wed, 29 Jun 2016 09:22:01 -0400 From: Tejun Heo To: Roger Lu Cc: "Rafael J . Wysocki" , Len Brown , Pavel Machek , Lai Jiangshan , Matthias Brugger , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, Sascha Hauer , djkurtz@chromium.org, drinkcat@chromium.org, fan.chen@mediatek.com, eddie.huang@mediatek.com Subject: Re: [PATCH] PM / suspend: show workqueues busy name in suspend flow Message-ID: <20160629132201.GC24054@htj.duckdns.org> References: <1466586509-32400-1-git-send-email-roger.lu@mediatek.com> <20160622152126.GV3262@mtj.duckdns.org> <1467020645.25092.24.camel@mtksdaap41> <20160628165616.GD5185@htj.duckdns.org> <1467172451.4141.20.camel@mtksdaap41> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467172451.4141.20.camel@mtksdaap41> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Roger. On Wed, Jun 29, 2016 at 11:54:11AM +0800, Roger Lu wrote: > Please allow me to elaborate my previous concern about printing > freezable workqueue info only in this case. > > The benefit of it is that debugger can quickly understand which > freezable workqueues block suspend flow and assign this issue to > corresponding owner instead of extracting freezable workqueue info from > show_workqueue_state() first and, then, assigning the issue. I don't think it matters. At that point, workqueues are generally pretty idle anyway and it shouldn't be difficult to tell which work items are the offending ones. Besides, freezable and unfreezable workqueues share the same backend pools, so it isn't easily separable either. Thanks. -- tejun