git: d9cf2a867184 - main - Increase the default mlock limit from 64k to 256k
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Aug 2026 14:32:48 UTC
The branch main has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=d9cf2a8671841e4415a22e16005d7700f0eb9b7e
commit d9cf2a8671841e4415a22e16005d7700f0eb9b7e
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-08-12 23:34:41 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-08-14 14:31:27 +0000
Increase the default mlock limit from 64k to 256k
The current default has been unchanged for 14 years. Increase it to
keep pace with modern hardware and software. security/pinentry-gnome,
in particular, can sometimes need 112 kB.
PR: 297452
MFC after: 2 weeks
Sponsored by: ConnectWise
Reviewed by: cye, emaste
Differential Revision: https://reviews.freebsd.org/D58811
---
usr.bin/login/login.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.bin/login/login.conf b/usr.bin/login/login.conf
index 267b0f1ad826..d0eba1216912 100644
--- a/usr.bin/login/login.conf
+++ b/usr.bin/login/login.conf
@@ -31,7 +31,7 @@ default:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
- :memorylocked=64K:\
+ :memorylocked=256K:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\