From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751490AbcGMXik (ORCPT ); Wed, 13 Jul 2016 19:38:40 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42936 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341AbcGMXie (ORCPT ); Wed, 13 Jul 2016 19:38:34 -0400 Date: Thu, 14 Jul 2016 08:38:36 +0900 From: Greg Kroah-Hartman To: Viresh Kumar Cc: "Rafael J. Wysocki" , Sergey Senozhatsky , Jan Kara , Sergey Senozhatsky , "Rafael J. Wysocki" , Tejun Heo , Linux Kernel Mailing List , vlevenetz@mm-sol.com, Vaibhav Hiremath , Alex Elder , johan@kernel.org, Andrew Morton , Steven Rostedt , Linux PM , Petr Mladek Subject: Re: [Query] Preemption (hogging) of the work handler Message-ID: <20160713233836.GA28362@kroah.com> References: <20160701172232.GD28719@htj.duckdns.org> <20160706182842.GS2671@ubuntu> <20160711102603.GI12410@quack2.suse.cz> <20160711154438.GA528@swordfish> <20160711223501.GI4695@ubuntu> <20160712231903.GR4695@ubuntu> <20160713054507.GA563@swordfish> <20160713153910.GY4695@ubuntu> <20160713231858.GG4695@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160713231858.GG4695@ubuntu> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 13, 2016 at 04:18:58PM -0700, Viresh Kumar wrote: > > Are all of those messages printed actually useful? > > Hmm, maybe not. But that's not the point I was trying to raise, as I > earlier mentioned :) > > We have a problem with asynchronous printing after disabling > interrupts on the last running CPU, and we are trying to disable that > from suspend_console(), because we already have a function to call > this from. Note, this problem has also been seen in "the wild" in a number of 3.10-based systems where a printk message happens right when suspend is happening. If we are unlucky, it hits, causing a watchdog to trigger and the system is reset. My personal phone happens to be one of those "unlucky" ones and is reset every other day or so due to this bug :( So yes, lots of printk() messages will cause this to be hit more often, like in the system that Viresh is working on here. But it will also trigger on "normal" systems as well, just much more infrequently. thanks, greg k-h