From patchwork Wed Feb 22 23:20:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vernon Yang X-Patchwork-Id: 13149665 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFE83C636D6 for ; Wed, 22 Feb 2023 23:21:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 213036B0071; Wed, 22 Feb 2023 18:21:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1C2D36B0072; Wed, 22 Feb 2023 18:21:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 064B56B0073; Wed, 22 Feb 2023 18:21:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id E7BF56B0071 for ; Wed, 22 Feb 2023 18:21:07 -0500 (EST) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id BC09A40BB1 for ; Wed, 22 Feb 2023 23:21:07 +0000 (UTC) X-FDA: 80496500574.07.868904B Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by imf19.hostedemail.com (Postfix) with ESMTP id 058A11A0002 for ; Wed, 22 Feb 2023 23:21:05 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="c6NM/7LO"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf19.hostedemail.com: domain of vernon2gm@gmail.com designates 209.85.214.169 as permitted sender) smtp.mailfrom=vernon2gm@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1677108066; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=xKgIXq4R4qwwHvnnkCCR3F6D7+hmpmuU9+roFWO8rBw=; b=yu/AjjrurnZdaoFbgdoAYtwj2AyItoPm9LQO0xIxchjOxhfc21wpi1ALvlt9wK9xddjCtX vsQXbk54+NKnnEaDJKufaA+ylVCErgk/R1AerqvgcIJTskZe4SQgNVu2v6BVFVxkne9UQS /M/cMo0Q4UbYh8vXtzgsP8mYU4r+P/o= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="c6NM/7LO"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf19.hostedemail.com: domain of vernon2gm@gmail.com designates 209.85.214.169 as permitted sender) smtp.mailfrom=vernon2gm@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1677108066; a=rsa-sha256; cv=none; b=py7tlQMCbxyHRUSRDkIOPOrxos3sbXdBThoOYYMFHTUuFAJmbDffwtI1GXixpyS3mrb6As Dwdz9qwCawU835obY+mKxUNYqCXoIXdvlSUKMaa/mtDhNX3t8uopDcHBzUVNbWoJCEdh4P LL1fcQ05ymKYMxpkRjeuKzcz1NVlgZ8= Received: by mail-pl1-f169.google.com with SMTP id s5so10704776plg.0 for ; Wed, 22 Feb 2023 15:21:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xKgIXq4R4qwwHvnnkCCR3F6D7+hmpmuU9+roFWO8rBw=; b=c6NM/7LOFlLxszwmELru+zN73WjU6aGQAD/D/FEdzc9YzCEBYzZ1MfE0UkBHueHRTI bm7WTe2J2R8QnpqLIKXyLudD5OR28lpd945WZYxlQMxeiBshqhcgMttKdmqfjXnpb7hL 3GvdGQ3xQeFM9bkHhLcer7dxvNbcG8X6E75FXyZNSmIWJnvp8XUkqCovBYk3nY1EFVU5 W5yA649+th6fIuwFyWJq+aPpntXx+N7dk0tjpVLmclGHYtoC2njGRXmab2rSt+HF2nJZ jQOEf6ktyNx6XBT6cmEeOMTGMS5A9TCjlyNq3S5x89si29sTS1yOgrNMr6/QY9Zedrd4 JpcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xKgIXq4R4qwwHvnnkCCR3F6D7+hmpmuU9+roFWO8rBw=; b=PojuXGqPOhVmU2AsDfEF3XWH2zV4uCB95M3PtidzPwEomWH/QLFk8xv2y91e8hexdS vvR5P4CMUDUk7JZGh/GZ/T7UurfFLQ409208N4wzv1EtUI+QrCc+QkS+VWy/Ll8RXhIe DmIzDaXpjKzhhcAPCd6E/F+C3/9AGpnUmWfZqTchv8jS8Y/zAHgCwHF/PvDZRQijfHjB e9HgiJh4Cy4oWrm2VTXXB5jKUG6Hj8n+87dlh+csK/QNE/oocFEmzqUSNVC6P+ZfyuYg q+dgkyLeVs0XCGpE8HXMIrNHxhrVgSlLh/jnpLGkkEFEBVoi2vwctRYQTEoL6IcDgcnx b5Vw== X-Gm-Message-State: AO0yUKWxo7JCH5TPuhsF1sMn0hfaRJYbcsGOB5tKuuMFM/BHG0qyDGsR mtt46qKnk3Y5l1qcJ5rK2MI= X-Google-Smtp-Source: AK7set+Mfk3X09eVolkIvbMyO46djaFV41w6qRa2hw54luh+oRYy3tPI8xgVWDF4PBspJAmeJEcwZA== X-Received: by 2002:a05:6a20:698f:b0:c7:13bf:3fd1 with SMTP id t15-20020a056a20698f00b000c713bf3fd1mr11187511pzk.8.1677108064675; Wed, 22 Feb 2023 15:21:04 -0800 (PST) Received: from vernon-pc.. ([49.67.183.195]) by smtp.gmail.com with ESMTPSA id n7-20020a6543c7000000b00502ea97cbc0sm1626640pgp.40.2023.02.22.15.21.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 15:21:04 -0800 (PST) From: Vernon Yang To: akpm@linux-foundation.org, vbabka@suse.cz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Vernon Yang Subject: [PATCH] mm/slub: fix help comment of SLUB_DEBUG[_ON] Date: Thu, 23 Feb 2023 07:20:58 +0800 Message-Id: <20230222232058.66971-1-vernon2gm@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 058A11A0002 X-Stat-Signature: 5wc8cn368r76h5rwnq9hpwddn443qyhn X-HE-Tag: 1677108065-612944 X-HE-Meta: U2FsdGVkX19M7F7c2oEbgbzmOS/6s23yH3oYCsdZcB8QKfIrBkoa6ATlw5MMrtPD1pRCdlJR86gpnjJedvaTLhafSpke76+PYpyuQsLEv6EXQI1dw6/FQ05R7y4CV9pupmi+pKmKRuH5FFkM/PSDo4WwJbugwSS3O1zH0nMyS0eK4xFoiQ9xTVR7TnzDP1kpOiOPphuIW1rfT5c1v5nt8WynXDzb/GJdj8k78W+9ubmNp2oPLd42I8+jYd4GS+I45wlJwAYee4eyp9Ig4CZFchudXZQWAjSxoPn6yAZyIEVuoL5etyR12owRd/exkZjWiK65uqt3M4yph8ZipeHWEJmWAEAFiz/gvRDhUUnyy/0sDx7Z7Lbrv9jCnzze10WrPRl3y4UY3a1SYXvGmHAR5WkHuHcRcFCUGzckoE+CQOyk1bym66A+SEyEwF65hBeZlk8IrZLAsOEHmx7IBvgNTtVElMoTeVyrpoV58uVIAaXCNFfQMExZxsndryWodaqDsGAUcYaX04SFyQRGEeJFDcLiIqRx1TW4uQGtaaTXThrPzw7VRIo92XEmlRh3oMyuBjiQkk4Qz8sGuDZoXTPhTbNvKmqr7tX8231xilWirNpHoTsC6rgzGXAF6mQ5Ksjx5vu60clH0ZZBx53hKeRTuWz3c5PqyzyPq2tYcAmAD5Z256aEmGUmtXiWlBWTQAODrRTQYe1NZu6rvY70cbNW6OMjaVnrW3ZKKYXvBo01rDqdwoWtgDsBkSGWJbc8bOXxTUWm8pDEpn5Vj0Bhia8YR+dF81kislK0sVldHABJq61Nt84KuL7jnSnHaex2NTn777VQXjvXZdeLEDBjontZEJlKKgwP5vvHmae4x1qtTHF8PKPACVLpr2AyOI7Upmka967sam1LTtnxBfyQgbFqgas+Mcm6Q8xGYqn7wm0wrKG1aRyJs8xwwckdqv5M1zIPjcn72PwVK+g2go9Y8s4 jRFp6zr/ vhOntbUUuc+GdNCUylRrihNgsX4dk/EDi8HtA35ecw5y52jBHAemD/h8Uq4hZ5i0ijc+Dlj0lTcK2m12AA25JefSmwzv+shK1kka2nJscUnPY7n1Rpmwd92XsYs3MzRsqPigDDGki7KGJPAVYAyKBdmpmC8Qaolw5jr13oX3lNbblm6we2iVmV39EG+EnKn7lrxXOh00gR58aAXidptp7mUPQG4N0jgRsm+0Z0/vLb3ZGuIq9479dBGIbxwMLKU2gH0to0+J+qMkxnqdJP8LAwzbxAY7vGlT7rk6A0gUqpAwgXa4aKDg8iMgywazrPATS/Ex+dzxIYcDDTj0v68EBhfpb8YVcUBaGYsPvrdwGTsx35QpRMb5Z2mGtxqYTWZlYubGPHpPev2y/W4FLe0CRq7miEtI9Q37nTMLDasUBI//HSFzGZRYpfghSxc6FHGmthN8WebDIpLCaie4wUmetvOFsS2CpxA5bSiotvUuo7B8OG60mRiKelBH9+7kSB5eROr9u X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Since commit 081248de0a02 ("kset: move /sys/slab to /sys/kernel/slab"), the SYSFS path of slab was modified, so fix up the help comment of SLUB_DEBUG to use the correct one. And now the "slub_debug" parameter on boot that is support for more fine grained debug control, so fix up help comment of SLUB_DEBUG_ON for "no support" to "support". Signed-off-by: Vernon Yang --- mm/Kconfig.debug | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index fca699ad1fb0..732043bf56c6 100644 --- a/mm/Kconfig.debug +++ b/mm/Kconfig.debug @@ -61,8 +61,8 @@ config SLUB_DEBUG help SLUB has extensive debug support features. Disabling these can result in significant savings in code size. This also disables - SLUB sysfs support. /sys/slab will not exist and there will be - no support for cache validation etc. + SLUB sysfs support. /sys/kernel/slab will not exist and there + will be no support for cache validation etc. config SLUB_DEBUG_ON bool "SLUB debugging on by default" @@ -73,10 +73,10 @@ config SLUB_DEBUG_ON Boot with debugging on by default. SLUB boots by default with the runtime debug capabilities switched off. Enabling this is equivalent to specifying the "slub_debug" parameter on boot. - There is no support for more fine grained debug control like - possible with slub_debug=xxx. SLUB debugging may be switched - off in a kernel built with CONFIG_SLUB_DEBUG_ON by specifying - "slub_debug=-". + There is support for more fine grained debug control like + possible with slub_debug=xxx, details in Documentation/mm/slub.rst. + SLUB debugging may be switched off in a kernel built with + CONFIG_SLUB_DEBUG_ON by specifying "slub_debug=-". config PAGE_OWNER bool "Track page owner"