* [PATCH] mm/damon/Kconfig: Hide PAGE_IDLE_FLAG from users
@ 2021-08-13 8:12 SeongJae Park
2021-08-13 8:20 ` Valdis Klētnieks
0 siblings, 1 reply; 2+ messages in thread
From: SeongJae Park @ 2021-08-13 8:12 UTC (permalink / raw)
To: akpm; +Cc: valdis.kletnieks, linux-mm, linux-kernel, SeongJae Park
From: SeongJae Park <sjpark@amazon.de>
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 <akpm@linux-foundation.org>
Signed-off-by: SeongJae Park <sjpark@amazon.de>
---
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
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm/damon/Kconfig: Hide PAGE_IDLE_FLAG from users
2021-08-13 8:12 [PATCH] mm/damon/Kconfig: Hide PAGE_IDLE_FLAG from users SeongJae Park
@ 2021-08-13 8:20 ` Valdis Klētnieks
0 siblings, 0 replies; 2+ messages in thread
From: Valdis Klētnieks @ 2021-08-13 8:20 UTC (permalink / raw)
To: SeongJae Park; +Cc: akpm, linux-mm, linux-kernel, SeongJae Park
On Fri, 13 Aug 2021 08:12:38 -0000, SeongJae Park said:
> From: SeongJae Park <sjpark@amazon.de>
>
> 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 <akpm@linux-foundation.org>
> Signed-off-by: SeongJae Park <sjpark@amazon.de>
Acked-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-13 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 8:12 [PATCH] mm/damon/Kconfig: Hide PAGE_IDLE_FLAG from users SeongJae Park
2021-08-13 8:20 ` Valdis Klētnieks
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.