git: de0aad8121ad - stable/15 - Increase the default mlock limit from 64k to 256k

From: Alan Somers <asomers_at_FreeBSD.org>
Date: Fri, 25 Sep 2026 18:50:26 UTC
The branch stable/15 has been updated by asomers:

URL: https://cgit.FreeBSD.org/src/commit/?id=de0aad8121ad28cf338b8823f48631b7f1ef3563

commit de0aad8121ad28cf338b8823f48631b7f1ef3563
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-08-12 23:34:41 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-09-25 17:34:17 +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
    
    (cherry picked from commit d9cf2a8671841e4415a22e16005d7700f0eb9b7e)
---
 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 c65a83caa565..1eca0404a500 100644
--- a/usr.bin/login/login.conf
+++ b/usr.bin/login/login.conf
@@ -32,7 +32,7 @@ default:\
 	:cputime=unlimited:\
 	:datasize=unlimited:\
 	:stacksize=unlimited:\
-	:memorylocked=64K:\
+	:memorylocked=256K:\
 	:memoryuse=unlimited:\
 	:filesize=unlimited:\
 	:coredumpsize=unlimited:\