Page MenuHomeFreeBSD

Increase the default mlock limit from 64k to 256k
ClosedPublic

Authored by asomers on Wed, Aug 12, 11:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 16, 9:19 AM
Unknown Object (File)
Sat, Aug 15, 4:21 PM
Unknown Object (File)
Sat, Aug 15, 2:55 AM
Unknown Object (File)
Thu, Aug 13, 12:29 PM
Unknown Object (File)
Thu, Aug 13, 12:28 PM
Unknown Object (File)
Thu, Aug 13, 12:40 AM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cy added reviewers: imp, jhb, emaste, markj.

I see no problem with this. What do others think?

This revision is now accepted and ready to land.Thu, Aug 13, 3:20 PM

I think Linux in-kernel default is 8MB, not sure if they have a separate lower limit equivalent to this. But I think increasing it a bit is fine if there are common-enough ports that want more than the current small 64K.