linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* CONFIG_PT_RECLAIM
@ 2025-02-26 18:30 Johannes Weiner
  2025-02-27  3:04 ` CONFIG_PT_RECLAIM Qi Zheng
  2025-02-27  9:54 ` CONFIG_PT_RECLAIM David Hildenbrand
  0 siblings, 2 replies; 6+ messages in thread
From: Johannes Weiner @ 2025-02-26 18:30 UTC (permalink / raw)
  To: Qi Zheng; +Cc: linux-mm, linux-kernel

Does PT_RECLAIM need to be configurable by the user?

Why not always try to free the page tables if the arch supports it?

diff --git a/mm/Kconfig b/mm/Kconfig
index 2761098dbc1a..99383c93db33 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -1309,16 +1309,9 @@ config ARCH_SUPPORTS_PT_RECLAIM
 	def_bool n
 
 config PT_RECLAIM
-	bool "reclaim empty user page table pages"
-	default y
+	def_bool y
 	depends on ARCH_SUPPORTS_PT_RECLAIM && MMU && SMP
 	select MMU_GATHER_RCU_TABLE_FREE
-	help
-	  Try to reclaim empty user page table pages in paths other than munmap
-	  and exit_mmap path.
-
-	  Note: now only empty user PTE page table pages will be reclaimed.
-
 
 source "mm/damon/Kconfig"
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-27  9:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-26 18:30 CONFIG_PT_RECLAIM Johannes Weiner
2025-02-27  3:04 ` CONFIG_PT_RECLAIM Qi Zheng
2025-02-27  6:08   ` CONFIG_PT_RECLAIM Johannes Weiner
2025-02-27  6:58     ` CONFIG_PT_RECLAIM Qi Zheng
2025-02-27  7:40       ` CONFIG_PT_RECLAIM Qi Zheng
2025-02-27  9:54 ` CONFIG_PT_RECLAIM David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox