Files
ARMSX2/common
Stenzek e24d97bbe4 Common: Don't use MAP_FIXED on Linux
MAP_FIXED will clobber any existing memory mapping, and is not safe
to use in a multi-threaded environment. Whether we like it or not,
we are a multi-threaded environment, because Qt initializes before
we get to main(), so it's already too late to safely use MAP_FIXED
by the time we get there.

Use MAP_FIXED_NOREPLACE instead. This is how MAP_FIXED should have
behaved from the beginning.

Obviously this means you'll need Linux 4.17+ and a semi-recent libc
to use PCSX2 now. But if you're running a 6 year old unsupported
kernel, you have bigger problems.

Fixes "random" startup crashes.
2024-05-21 22:44:00 +10:00
..
2023-12-27 13:55:35 +10:00
2024-05-21 18:34:01 +10:00
2023-12-27 13:55:35 +10:00
2024-04-13 13:21:17 +10:00
2024-05-04 14:12:20 +10:00
2023-12-27 13:55:35 +10:00
2024-05-05 12:13:20 +10:00
2023-12-27 13:55:35 +10:00
2024-03-13 20:13:35 +10:00
2024-03-13 20:13:35 +10:00
2023-12-27 13:55:35 +10:00
2022-04-21 14:21:49 +01:00
2024-01-08 23:33:43 +10:00
2023-12-27 13:55:35 +10:00