this post was submitted on 07 Apr 2024
106 points (98.2% liked)

Linux Gaming

15842 readers
10 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 7 months ago (4 children)

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.

[–] [email protected] 3 points 7 months ago (3 children)

Steam has raised it to the MAX_INT - 5

Now I'm interested where the 5 comes from.

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (2 children)

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.

[–] [email protected] 4 points 7 months ago

95% being trial and error. At least where I work.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)