git: d9cf2a867184 - main - Increase the default mlock limit from 64k to 256k
Alan Somers <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a7f2710.3dd4e.7e3c6245__36559.1411989712$1786717988$gmane$org@gitrepo.freebsd.org> |
The branch main has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=d9cf2a8671841e4415a22e16005d7700f0eb9b7e commit d9cf2a8671841e4415a22e16005d7700f0eb9b7e Author: Alan Somers <[email protected]> AuthorDate: 2026-08-12 23:34:41 +0000 Commit: Alan Somers <[email protected]> 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:\