Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756917AbbHDOol (ORCPT ); Tue, 4 Aug 2015 10:44:41 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:37689 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756902AbbHDOoh (ORCPT ); Tue, 4 Aug 2015 10:44:37 -0400 Date: Tue, 4 Aug 2015 16:44:34 +0200 From: Michal Hocko To: Don Zickus Cc: Ulrich Obergfell , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, atomlin@redhat.com, jolsa@kernel.org, eranian@google.com, cmetcalf@ezchip.com, fweisbec@gmail.com Subject: Re: [PATCH 4/4] watchdog: use suspend/resume interface in fixup_ht_bug() Message-ID: <20150804144434.GJ28571@dhcp22.suse.cz> References: <1438433365-2979-1-git-send-email-uobergfe@redhat.com> <1438433365-2979-5-git-send-email-uobergfe@redhat.com> <20150804133129.GF28571@dhcp22.suse.cz> <20150804142750.GR42530@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150804142750.GR42530@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1304 Lines: 39 On Tue 04-08-15 10:27:50, Don Zickus wrote: > On Tue, Aug 04, 2015 at 03:31:30PM +0200, Michal Hocko wrote: > > On Sat 01-08-15 14:49:25, Ulrich Obergfell wrote: > > [...] > > > @@ -3368,7 +3368,10 @@ static __init int fixup_ht_bug(void) > > > return 0; > > > } > > > > > > - watchdog_nmi_disable_all(); > > > + if (watchdog_suspend() != 0) { > > > + pr_info("failed to disable PMU erratum BJ122, BV98, HSD29 workaround\n"); > > > + return 0; > > > + } > > > > Is this really worth reporting to the log? What is an admin supposed to > > do about it? > > I think it was more for developers to aid in debugging a strange behaviour > of the performance counters. pr_debug then? > > > > Ok, so kthread_park fails only when the kernel thread has already > > exited. Can this ever happen during this call path? > > It might be overkill, but it is just a harmless informational failure > message. Maybe we have way too many of those harmless informational failure admins scratch their heads about... -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/