Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2332530imm; Fri, 7 Sep 2018 14:50:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ+u7ddtlQ1+8vN0EO6uPGERkqitr1ARdeykBj/cxVsvH3H6Nk/YbXMwNo6bfLFNvAQftPG X-Received: by 2002:a62:9894:: with SMTP id d20-v6mr10779341pfk.186.1536357018937; Fri, 07 Sep 2018 14:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536357018; cv=none; d=google.com; s=arc-20160816; b=wykSoMdTi8Ls+yvw1II7QpjXEetzIeHZiHv+gLPqzrIPkq/mdrRyGU3hDbL3vmwyDK djD6PqxTO+XZQbSXPp6JcHNbzyGbpy30IPtXKEzKo65OfHdfwjtEufom8u7YOMwtl2Qq Rl+E+HRXU9zflMmpTMjwzyiV6iC+WBrqFjAzjV607OSP2B9JNUCptwJZV53feBONT0aj /xQRc+6NSK/TatyyriYMNLCT5JQZV9et1HBh8EMImx9fcUME+G6lztVqXRaQe85jfA62 PLvCcgPqdtRTk/sv8x13FxEO+BXqzgCR8LiXtVaH5IlkfokHGAZm23gD4e5QXpovipw3 /qOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AxXYXmA/oaQEZzqG5GxouI+6356lHVQDRY4biIK4kzA=; b=n1v7aZNO20xn30upDjeVBVzQkskap+e/NMPQ1a6ccgw0WBWaAMQAmClIP6ycCDZbXa XiUHampe1kbIW/gO4m/K/BmJTvec/iV7jTNVAsjtIHZJjczy5qe3QoLWDzFyVB9Pf7Wd 7cwok324E8WZW+Gw+H72mtco0dbiEc1AQO+TGHpMVXYf3yU0zBzUjKoLcE3JaKaTulbb +H5ovdEdbIGmbVHiQGpWrJUDUKZ8tZPuX95s/JgNilch1y6hc68xP02JTQ0KdKYTucBh sfop9dnF+zLqMoUd+px4FyLt6HxuTgNbLsVLlCvBhhCB0l1nWnHzKEc0DrSwyK28oNKO aLXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=k0OwiazM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si9232674pln.415.2018.09.07.14.50.03; Fri, 07 Sep 2018 14:50:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=k0OwiazM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731082AbeIHC2J (ORCPT + 99 others); Fri, 7 Sep 2018 22:28:09 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:29622 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731069AbeIHC2J (ORCPT ); Fri, 7 Sep 2018 22:28:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1536356713; x=1567892713; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AxXYXmA/oaQEZzqG5GxouI+6356lHVQDRY4biIK4kzA=; b=k0OwiazMrSsawav7/WOlDm8VVKY1HCUUrUzigvLtGXqGwNFOoH6VIBRR WRaOGrlH/Sg0AEVxixJNOxJvUBdr66XfmxDAan8ocsmb2WHMWeRO6YR0E 5OhUeM7EQZ1l7ooTQ2kai4JLva4kMZuO+aHHmVtqbnv7QF9xmAMOwkBqG A=; X-IronPort-AV: E=Sophos;i="5.53,343,1531785600"; d="scan'208";a="752286680" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-1e-97fdccfd.us-east-1.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Sep 2018 21:42:38 +0000 Received: from u7588a65da6b65f.ant.amazon.com (iad7-ws-svc-lb50-vlan3.amazon.com [10.0.93.214]) by email-inbound-relay-1e-97fdccfd.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w87LfVjJ098273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 7 Sep 2018 21:41:34 GMT Received: from u7588a65da6b65f.ant.amazon.com (localhost [127.0.0.1]) by u7588a65da6b65f.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTPS id w87LfTSp027205 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 7 Sep 2018 23:41:29 +0200 Received: (from jschoenh@localhost) by u7588a65da6b65f.ant.amazon.com (8.15.2/8.15.2/Submit) id w87LfSvE027204; Fri, 7 Sep 2018 23:41:28 +0200 From: =?UTF-8?q?Jan=20H=2E=20Sch=C3=B6nherr?= To: Ingo Molnar , Peter Zijlstra Cc: =?UTF-8?q?Jan=20H=2E=20Sch=C3=B6nherr?= , linux-kernel@vger.kernel.org Subject: [RFC 11/60] locking/lockdep: Increase number of supported lockdep subclasses Date: Fri, 7 Sep 2018 23:39:58 +0200 Message-Id: <20180907214047.26914-12-jschoenh@amazon.de> X-Mailer: git-send-email 2.9.3.1.gcba166c.dirty In-Reply-To: <20180907214047.26914-1-jschoenh@amazon.de> References: <20180907214047.26914-1-jschoenh@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With coscheduling the number of required classes is twice the depth of the scheduling domain hierarchy. For a 256 CPU system, there are eight levels at most. Adjust the number of subclasses, so that lockdep can still be used on such systems. Signed-off-by: Jan H. Schönherr --- include/linux/lockdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index b0d0b51c4d85..d93a5ec3077f 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h @@ -17,7 +17,7 @@ struct lockdep_map; extern int prove_locking; extern int lock_stat; -#define MAX_LOCKDEP_SUBCLASSES 8UL +#define MAX_LOCKDEP_SUBCLASSES 16UL #include -- 2.9.3.1.gcba166c.dirty