Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp298709ybm; Tue, 26 May 2020 17:29:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvyAaI/V42IxRD694aeVKX1C1f3scAfzQEGMJjA38MftAcl6Z2SkkWDgMqif1e+HhNjhiO X-Received: by 2002:a17:906:17d1:: with SMTP id u17mr3365800eje.242.1590539350740; Tue, 26 May 2020 17:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590539350; cv=none; d=google.com; s=arc-20160816; b=oL8lwADD9QMQQSGtsGlOEwNR1MoJ0D2096rAjK5Z6PplGzWlU7OsAOVVmnSuWfvjhZ p8VHjU/GL02sBkJyzBEQNvf8jvHD/zV7HVlrvAz+hUavILtSrJZuLVyH0uePfXtXCm9r LTsZ45wgLx0w79tUjj0QuSAL7B1cxioYZcRG0SRYy8TNPtzz52bOXtm5sWXUegXm9hcE n76PoESIV3ptGAYmm+v3lUEQKIATN1u8eM0TEJLb4qDNVHi/E8sd/AFMCSjpkoK/qOvL dtGGoMTXDreIGR40/hMOHEV1uXYS2b371kWFcm5ReLB5Ejs+zW9xugKbFmxD3ZRj7ZP4 y3YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TtkW2GUFnPpiz7qVt/cSaWSJ76KcZz2gc93YfJwXduw=; b=ciSFEqDqHcD2o9mcuAJGgHdlESuZsyFeEvNPskhdlmNI8MwN8H2xakTyviVFkkgwUH +IIcFQLgcQlLNBiXS6TbNf9G5mvNOYjjqQQKOpjJoZrrDDumzqU9hO+zxxe05djcerSa ukTUSzIQF98vPdcCU8kmJol8hd9lpfNnFOg3bgmoHvXIfEdu/pBUHgu42gHUTroqNdBC 4kbv7UyBV4vm5nMpqjiq4E7l9fFiHmIwIiXz/s8qKXDS9KoAKmWiGjL31j+JilF8QdN5 8v/Khhxcuggv6mEufdeGvX4ixHNYM3HRaQl5qOo2Cl+MbzjxLs7CWw4cVGgJC0UNV1di 2ukg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=FFmP067Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l8si789845eds.308.2020.05.26.17.28.44; Tue, 26 May 2020 17:29:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=FFmP067Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391035AbgEZURr (ORCPT + 99 others); Tue, 26 May 2020 16:17:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389684AbgEZURq (ORCPT ); Tue, 26 May 2020 16:17:46 -0400 Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 298B8C03E96E for ; Tue, 26 May 2020 13:17:45 -0700 (PDT) Received: by mail-qt1-x843.google.com with SMTP id z1so5202122qtn.2 for ; Tue, 26 May 2020 13:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TtkW2GUFnPpiz7qVt/cSaWSJ76KcZz2gc93YfJwXduw=; b=FFmP067Z/dKjzMX+2ihP1I79sITHHCno0zw2IhWiXoD204KcJrfB7eO12GKNOTfgp+ yckSRnXHRTeVSY8D0IMyYeql1tShtI4P6SARzNqI3UKb/53c4NBaEy5PEwJk2Ki5q+8O ozzeqkdCvncVAZOlJHS76Ya/EXm7QZia4oAx9Jl95d3Bz0bzree3y/ZBpTsNZAelKSuB 8BN01nvKpbjenAWnHm09bnxNfpOf2L74PYacN9fIiDKmtZwMmOqUnhO+7u1ycRtWgo0p nYnpN4xvgiPRqpxbzO3oTd6zVhXngTd4LkLJ4qxcsCxXjI/2L4cCmaUEc8Fx/dgVLnIg JD6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TtkW2GUFnPpiz7qVt/cSaWSJ76KcZz2gc93YfJwXduw=; b=cGwSYw54WX4sRyh7cSBKDOUUjuHrGfugWfGtVDRIHDcIz7t5LMIACBtMtCxG8wXM/s GOvfZG4Z95h7lSt7i9emAt6ktOh2EoRHZQCJnn+L8SJsNA9vDGuGB2a9Dg5txatWeDu7 sJKxfInYuCWtmX6cw89tdgBeIm7EbLyt0N9YZcpoggAWQ0EUz3Vf0Yte+bMES11TYZWu rWPsFlosb25L4H13mmGHiGR6EA0JtNha/5yiel7oOWitSF1RoyEi5j7FdqtjD2dml+b9 aFa0mILIX36ubIgTdNI4n/CoFCbSo1Em0CyMgT74f5P/7X8a1JwqnTNlDt9BCty6e7ga GLPg== X-Gm-Message-State: AOAM530WJxvG/sN0CDgiQa/jbvDzRpFojTHpXjfd/Gct05bvOZuQqWbM vWty1QQDZtWE4THvF7cUy+VdOQ== X-Received: by 2002:ac8:d87:: with SMTP id s7mr621968qti.210.1590524262863; Tue, 26 May 2020 13:17:42 -0700 (PDT) Received: from lca.pw (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id m126sm552618qke.99.2020.05.26.13.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2020 13:17:41 -0700 (PDT) Date: Tue, 26 May 2020 16:17:39 -0400 From: Qian Cai To: Peter Zijlstra Cc: Waiman Long , Ingo Molnar , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH] locking/lockdep: Increase MAX_LOCKDEP_ENTRIES by half Message-ID: <20200526201739.GG991@lca.pw> References: <20200526174349.8312-1-longman@redhat.com> <20200526185850.GE991@lca.pw> <20200526195630.GF325280@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200526195630.GF325280@hirez.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 26, 2020 at 09:56:30PM +0200, Peter Zijlstra wrote: > On Tue, May 26, 2020 at 02:58:50PM -0400, Qian Cai wrote: > > > I still don't understand why reading all sysfs files on this system > > could increase that much, but here is the lockdep file after > > running sysfs read to see if you could spot anything obviously, > > > > https://cailca.github.io/files/lockdep.txt > > 00000000f011a2a5 OPS: 20 FD: 45 BD: 1 .+.+: kn->active#834 > > is that somewhere near the number of CPUs you have? 834? No. # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Thread(s) per core: 2 Core(s) per socket: 32 Socket(s): 2 NUMA node(s): 8 Vendor ID: AuthenticAMD CPU family: 23 Model: 1 Model name: AMD EPYC 7601 32-Core Processor Stepping: 2 CPU MHz: 2932.801 CPU max MHz: 2200.0000 CPU min MHz: 1200.0000 BogoMIPS: 4391.87 Virtualization: AMD-V L1d cache: 32K L1i cache: 64K L2 cache: 512K L3 cache: 8192K NUMA node0 CPU(s): 0-7,64-71 NUMA node1 CPU(s): 8-15,72-79 NUMA node2 CPU(s): 16-23,80-87 NUMA node3 CPU(s): 24-31,88-95 NUMA node4 CPU(s): 32-39,96-103 NUMA node5 CPU(s): 40-47,104-111 NUMA node6 CPU(s): 48-55,112-119 NUMA node7 CPU(s): 56-63,120-127 > > Anyway, there's very long "kn->active#..." chains in there, which seems > to suggest some annotation is all sorts of buggered.