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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 BED9DC388F9 for ; Tue, 27 Oct 2020 11:29:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C3B322258 for ; Tue, 27 Oct 2020 11:29:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1749955AbgJ0L3x convert rfc822-to-8bit (ORCPT ); Tue, 27 Oct 2020 07:29:53 -0400 Received: from mail.fireflyinternet.com ([77.68.26.236]:63441 "EHLO fireflyinternet.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1749937AbgJ0L3w (ORCPT ); Tue, 27 Oct 2020 07:29:52 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 22816111-1500050 for multiple; Tue, 27 Oct 2020 11:29:38 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT In-Reply-To: <160208761332.7002.17400661713288945222.tip-bot2@tip-bot2> References: <20200930094937.GE2651@hirez.programming.kicks-ass.net> <160208761332.7002.17400661713288945222.tip-bot2@tip-bot2> Subject: Re: [tip: locking/core] lockdep: Fix usage_traceoverflow From: Chris Wilson Cc: Qian Cai , Peter Zijlstra (Intel) , x86 , LKML To: linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, tip-bot2 for Peter Zijlstra Date: Tue, 27 Oct 2020 11:29:35 +0000 Message-ID: <160379817513.29534.880306651053124370@build.alporthouse.com> User-Agent: alot/0.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting tip-bot2 for Peter Zijlstra (2020-10-07 17:20:13) > The following commit has been merged into the locking/core branch of tip: > > Commit-ID: 24d5a3bffef117ed90685f285c6c9d2faa3a02b4 > Gitweb: https://git.kernel.org/tip/24d5a3bffef117ed90685f285c6c9d2faa3a02b4 > Author: Peter Zijlstra > AuthorDate: Wed, 30 Sep 2020 11:49:37 +02:00 > Committer: Peter Zijlstra > CommitterDate: Wed, 07 Oct 2020 18:14:17 +02:00 > > lockdep: Fix usage_traceoverflow > > Basically print_lock_class_header()'s for loop is out of sync with the > the size of of ->usage_traces[]. We're hitting a problem, $ cat /proc/lockdep_stats upon boot generates: [ 29.465702] DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused) [ 29.465716] WARNING: CPU: 0 PID: 488 at kernel/locking/lockdep_proc.c:256 lockdep_stats_show+0xa33/0xac0 that bisected to this patch. Only just completed the bisection and thought you would like a heads up. -Chris