lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250226183013.GB1042@cmpxchg.org>
Date: Wed, 26 Feb 2025 13:30:13 -0500
From: Johannes Weiner <hannes@...xchg.org>
To: Qi Zheng <zhengqi.arch@...edance.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: CONFIG_PT_RECLAIM

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"
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ