mm/damon/Kconfig: Hide PAGE_IDLE_FLAG from users
Subsystems (2)
PATCH 1/1 mm/damon/Kconfig: Hide PAGE_IDLE_FLAG from users
From: SeongJae Park <[email protected]>
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
--- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/Kconfig +1 -1
@@ -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
Signature · 1 line
2.17.1
Quoted 9 lines · SeongJae Park
From: SeongJae Park <[email protected]>
Commit
2a058a1a9914("mm/idle_page_tracking: makePG_idlereusable") of linux-mm[1] makesCONFIG_PAGE_IDLE_FLAGoption 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 orIDLE_PAGE_TRACKING. To avoid confusions, this commit removes the prompt so that the option is not presented to the user.
Quoted 4 lines
[1] https://github.com/hnaz/linux-mm/commit/2a058a1a9914
Suggested-by Andrew Morton <[email protected]>Signed-off-by SeongJae Park <[email protected]>