In search of an appropriate RLIMIT_MEMLOCK default
In search of an appropriate RLIMIT_MEMLOCK default
Posted Dec 10, 2021 7:17 UTC (Fri) by massimiliano (subscriber, #3048)In reply to: In search of an appropriate RLIMIT_MEMLOCK default by notriddle
Parent article: In search of an appropriate RLIMIT_MEMLOCK default
Then perhaps the sensible proposal would be to have two separated limits: one (with a low default, like 64Kb) for locked memory writable by user space, and another (with a larger default, like 8Mb, because it is safe anyway) for locked memory writable only by the kernel.