Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4024887pxf; Mon, 29 Mar 2021 19:08:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8E2AdhSZBlJnvnvf0NlmpHtIaPpDjVt/UqiRjk8J7sA11bysKvoySFEF/M3kN6ON5dZ32 X-Received: by 2002:a17:907:9482:: with SMTP id dm2mr4992116ejc.303.1617070113309; Mon, 29 Mar 2021 19:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617070113; cv=none; d=google.com; s=arc-20160816; b=nItOjX9W5ccPSXn10yP5CAAo5OntOzKgzvEN9LcfB5mlRke3EbXe9UPiYYvrn9sF0p wFvUZZHiGvnCP78W4Q7WsHuwd4aM4DSEnvgcAKVJZUOXJ1IqQgsOuqdrwMOU0kme/r4a n7ss8d1UV5R0yhjvXrNAVMFtZt+jNnEzaVqR9GggXdRWMOsOSwGLSjwzkaNeMINRPSa2 OoP1q2xcYR5BkOHs8zcpyl2brJiYWyiaXJJuIYgSAT0+4+OnpwMpooLT7itles6RXjHO y+qynNj0CXNQQyRM1TeKjQMLUuNU5tQ0wPHRGqdK8k6RZf1oo9EEb313CETyivPzL42q RZBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HWmwPiAl/EVfhAXU//YfmKyOq3tt1U22B7B4hD/LhIk=; b=nv/vehHcsbT1AOvZxQexomBzwyS79qP+j/733fD17x21iwX5A9mJJYi5qcwiPcKqXv uYizxZ0JFQlzNjrIzwyanKyvYfn7oPxSlPL6mvnjnAQI8hCPZPWw8EdeBZUD4J/z0zLq RT/D5z8eD95P0OGzCS0O0xTcvsdKnaCHZf0rBht3i34ns+c+8sIGJqcmfpYnEJj+LgV/ g3loVtl5utRGvGl0ytDzEIS0UphrwKvG3aL/Squ8kw0liaKJy1IURHoeSLNROknJt6MB d72ZIm9xHY+2ioL534xHCqMDlPLPxSgziHC2nsfVSVERm6biTgNNykcFy0hcf02hkwSj h0JQ== ARC-Authentication-Results: i=1; mx.google.com; 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 jv2si9326888ejc.161.2021.03.29.19.08.11; Mon, 29 Mar 2021 19:08:33 -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; 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 S230347AbhC3CHG (ORCPT + 99 others); Mon, 29 Mar 2021 22:07:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:49634 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbhC3CGr (ORCPT ); Mon, 29 Mar 2021 22:06:47 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 58218B211; Tue, 30 Mar 2021 02:06:46 +0000 (UTC) From: Davidlohr Bueso To: peterz@infradead.org, mingo@redhat.com Cc: longman@redhat.com, will@kernel.org, linux-kernel@vger.kernel.org, dave@stgolabs.net, Davidlohr Bueso Subject: [PATCH -tip] locking: Move CONFIG_LOCK_EVENT_COUNTS into Kernel hacking section Date: Mon, 29 Mar 2021 19:06:36 -0700 Message-Id: <20210330020636.112594-1-dave@stgolabs.net> 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 It's a lot more intuitive to have it in the locking section of the kernel hacking part rather than under "General architecture-dependent options". Signed-off-by: Davidlohr Bueso --- arch/Kconfig | 9 --------- lib/Kconfig.debug | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index ecfd3520b676..d6f9aeaaf9f2 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -1113,15 +1113,6 @@ config HAVE_ARCH_PREL32_RELOCATIONS config ARCH_USE_MEMREMAP_PROT bool -config LOCK_EVENT_COUNTS - bool "Locking event counts collection" - depends on DEBUG_FS - help - Enable light-weight counting of various locking related events - in the system with minimal performance impact. This reduces - the chance of application behavior change because of timing - differences. The counts are reported via debugfs. - # Select if the architecture has support for applying RELR relocations. config ARCH_HAS_RELR bool diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 2779c29d9981..76639ff5998c 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1401,6 +1401,15 @@ config DEBUG_LOCKING_API_SELFTESTS The following locking APIs are covered: spinlocks, rwlocks, mutexes and rwsems. +config LOCK_EVENT_COUNTS + bool "Locking event counts collection" + depends on DEBUG_FS + help + Enable light-weight counting of various locking related events + in the system with minimal performance impact. This reduces + the chance of application behavior change because of timing + differences. The counts are reported via debugfs. + config LOCK_TORTURE_TEST tristate "torture tests for locking" depends on DEBUG_KERNEL -- 2.26.2