The search for the correct amount of split-lock misery
The search for the correct amount of split-lock misery
Posted Oct 29, 2022 20:06 UTC (Sat) by nybble41 (subscriber, #55106)In reply to: The search for the correct amount of split-lock misery by wtarreau
Parent article: The search for the correct amount of split-lock misery
prctl() is for things which affect the operation of the process itself. This controls whether a program making use of split locks can negatively impact the performance of the entire *system*, which puts it in a category similar to real-time priorities. As such, a privileged sysctl knob is a reasonable solution. A cgroup option could also work, and would allow access to split locks to be more precisely targeted, but it would need to require some form of elevated privilege to enable it for a regular user account.
