Not really it seems. Steam has raised it to the MAX_INT - 5, Fedora originally planned to do so to but held off after concerns from engineers that it could lead to situations where having too much mapped would lead to the kernel killing other processes to solve OOM situations so they settled on the number that has now also been adapted by Arch. At least, according to another Phoronix article.
I’m betting on trial and error. Probably has a mysterious comment in the code, as a warning to other.
Source: I develop software and find these things are either deeply researched and analyzed scientific theory, or the result of guesswork and trial and error. At a ratio of about 95% and 5% respectively.
Not really it seems. Steam has raised it to the MAX_INT - 5, Fedora originally planned to do so to but held off after concerns from engineers that it could lead to situations where having too much mapped would lead to the kernel killing other processes to solve OOM situations so they settled on the number that has now also been adapted by Arch. At least, according to another Phoronix article.
Now I’m interested where the 5 comes from.
I wonder too!
I’m betting on trial and error. Probably has a mysterious comment in the code, as a warning to other.
Source: I develop software and find these things are either deeply researched and analyzed scientific theory, or the result of guesswork and trial and error. At a ratio of about 95% and 5% respectively.
95% being trial and error. At least where I work.
So deeply researched was set at
MAX_PERCENT - 5
?