From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A833FC4361B for ; Thu, 10 Dec 2020 16:02:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6409A23D39 for ; Thu, 10 Dec 2020 16:02:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403873AbgLJQCD (ORCPT ); Thu, 10 Dec 2020 11:02:03 -0500 Received: from mx2.suse.de ([195.135.220.15]:49472 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391090AbgLJQBt (ORCPT ); Thu, 10 Dec 2020 11:01:49 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1607616057; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=/RDK+90f4BiI39cPxQWNZJU2UwVBYdblMM4zAXfF7m8=; b=FlOCJfTPnddM+GdQnUCJsIU8isd5lZWD01QVLUjhwI4dyQXnHR9CwaBUr6tIzFiqsNpYNU BkoN4t72W3Mp3CSDNd1Vq+vIJmBBS70wMtbWeHtzC0I0hnpECfUseEgC8lqqff1hWDN6vM t5BzW6zsr0SxP1RAicx0aOSys8pfQOk= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1805FAE95; Thu, 10 Dec 2020 16:00:57 +0000 (UTC) From: Petr Mladek To: Thomas Gleixner , Ingo Molnar , Peter Zijlstra Cc: Laurence Oberman , Vincent Whitchurch , Michal Hocko , linux-kernel@vger.kernel.org, Petr Mladek Subject: [PATCH v2 0/7] watchdog/softlockup: Report overall time and some cleanup Date: Thu, 10 Dec 2020 17:00:31 +0100 Message-Id: <20201210160038.31441-1-pmladek@suse.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I dug deep into the softlockup watchdog history when time permitted this year. And reworked the patchset that fixed timestamps and cleaned up the code[1]. I split it into very small steps and did even more code clean up. The result looks quite strightforward and I am pretty confident with the changes. [*] v1: https://lore.kernel.org/r/20191024114928.15377-1-pmladek@suse.com Petr Mladek (7): watchdog: Rename __touch_watchdog() to a better descriptive name watchdog: Explicitly update timestamp when reporting softlockup watchdog/softlockup: Report the overall time of softlockups watchdog/softlockup: Remove logic that tried to prevent repeated reports watchdog: Fix barriers when printing backtraces from all CPUs watchdog: Cleanup handling of false positives Test softlockup fs/proc/consoles.c | 5 +++ fs/proc/version.c | 7 ++++ kernel/watchdog.c | 97 ++++++++++++++++++++++++++-------------------- 3 files changed, 66 insertions(+), 43 deletions(-) -- 2.26.2