From patchwork Fri Aug 13 08:12:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12435075 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=-20.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 D69BBC4338F for ; Fri, 13 Aug 2021 08:12:57 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 541CD60FC0 for ; Fri, 13 Aug 2021 08:12:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 541CD60FC0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id A80348D0001; Fri, 13 Aug 2021 04:12:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A30EF6B0071; Fri, 13 Aug 2021 04:12:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 91F6F8D0001; Fri, 13 Aug 2021 04:12:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 779076B006C for ; Fri, 13 Aug 2021 04:12:56 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 143B9180AE816 for ; Fri, 13 Aug 2021 08:12:56 +0000 (UTC) X-FDA: 78469341552.30.8007EF0 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by imf08.hostedemail.com (Postfix) with ESMTP id BBB4B300B56E for ; Fri, 13 Aug 2021 08:12:55 +0000 (UTC) Received: by mail-qk1-f176.google.com with SMTP id p22so8667233qki.10 for ; Fri, 13 Aug 2021 01:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=rqKy9El38Ijq4tYdGCeWyBDAmZwgGz7n0gBvxv5RSNg=; b=bR19vG9HGiUHDxigIPxsvn3usFtuL+jqe+qjINDJtg0rVpIadKkYEKYKy8k7FgHnWS ZMw7LoMoaG7GFeaqxGJKesr0bPj5qrM9pZ8gcYC7pOMCigWt7egNN69ffLNz6GZB/Cwa 0BVDZ9z/n59+uG5aJ1muGMK+P0mr4YZfKc+jDFnBIneOkMyJ3Lm0nOOJuObALI55dZV7 YsBK3978l7j+bufGYegy0ENQfSVkzJZzMPHpS/csAFlkBkX5mITfQJ8OeDGkVFhIcsai KX5oiwUw4A6KsIZ2uRYaeaG2vbKu4Ch0dYWl3yJg1QPr3qRGH5OaTS01UNhuZypJlcoB Po0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rqKy9El38Ijq4tYdGCeWyBDAmZwgGz7n0gBvxv5RSNg=; b=Jle7yK4yyc8vrrNIi0AHzPnuOnMk53FEO1iFpwOH9oELXlEKgM2ZUAMCdl/5PjpCTM lAF30un7CDeijQAmYL0g0beQ2JdxE3x03acfRVIl9Mpm5WzjB9UAkIoc/pY9cisvA+qU 0XCcRQJU8kgT6FJ7CClRD109CLayZE92UHGdyp6Q8kfemjMQ5uXB9vA4YMypPZ7Eb59z Q2cctyhEnkcrHgQCkPpWsl0hMf0PxPF+8HKnk3iQwIAYXB8PieP3FU4UTAsu6mpwa7hK 3KnGLDJLoT5vl3YUUKdxDZyO7ghLcxMntm5dFMuVDrZy+odV3XlfgPpHAqOaN5uz7Q5d ReNw== X-Gm-Message-State: AOAM5324S5f2sUoOUsB5cMcG0N/N1ZKQlUkb8mT2TLVyEtOEi8G+hD3S Q+3rj0whMVVgjET+MF6+8rk= X-Google-Smtp-Source: ABdhPJwMEJtePlInhkbqFaKu8p1btYdBnKUcEXtaDFaAzMmQHk7RQ+pcuKI+ewHNHSGzpmmmNi1pAA== X-Received: by 2002:a37:6643:: with SMTP id a64mr912038qkc.256.1628842375064; Fri, 13 Aug 2021 01:12:55 -0700 (PDT) Received: from localhost.localdomain (ec2-35-169-212-159.compute-1.amazonaws.com. [35.169.212.159]) by smtp.gmail.com with ESMTPSA id g145sm487893qke.25.2021.08.13.01.12.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 01:12:54 -0700 (PDT) From: SeongJae Park To: akpm@linux-foundation.org Cc: valdis.kletnieks@vt.edu, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH] mm/damon/Kconfig: Hide PAGE_IDLE_FLAG from users Date: Fri, 13 Aug 2021 08:12:38 +0000 Message-Id: <20210813081238.34705-1-sj38.park@gmail.com> X-Mailer: git-send-email 2.17.1 X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: BBB4B300B56E X-Stat-Signature: 6s1sb5r3x3q9wrbmumw5d6f48fjmj9y9 Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bR19vG9H; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf08.hostedemail.com: domain of sj38park@gmail.com designates 209.85.222.176 as permitted sender) smtp.mailfrom=sj38park@gmail.com X-HE-Tag: 1628842375-599507 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: SeongJae Park Commit 2a058a1a9914 ("mm/idle_page_tracking: make PG_idle reusable") of linux-mm[1] makes CONFIG_PAGE_IDLE_FLAG option to be presented to the user. However, the option is hard to be understood by users. Also, it is not intended to be set by users but other kernel subsystems like DAMON or IDLE_PAGE_TRACKING. To avoid confusions, this commit removes the prompt so that the option is not presented to the user. [1] https://github.com/hnaz/linux-mm/commit/2a058a1a9914 Suggested-by: Andrew Morton Signed-off-by: SeongJae Park Acked-By: Valdis Kletnieks --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index 8d3a005edea5..be726f61ef9b 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -740,7 +740,7 @@ config DEFERRED_STRUCT_PAGE_INIT initialisation. config PAGE_IDLE_FLAG - bool "Add PG_idle and PG_young flags" + bool select PAGE_EXTENSION if !64BIT help This adds PG_idle and PG_young flags to 'struct page'. PTE Accessed