[mem] MPROTECT OOM handling. #3

Closed
Bix wants to merge 2 commits from test into master
Bix commented 2025-07-05 23:29:37 +02:00 (Migrated from git.bixed.xyz)

Added better handling for mprotect out of memory issue on games like Persona 5 Royal where having larger pages unflushed causes crashes after certain amount of time (≠30 min) with MAP_FIXED_NOREPLACE ensuring protected pages doesn't overfload memory.
Eden Collaborator: edencollaborator@eden-emu.org
Authored-by: CamilleLaVey: camillelavey@eden-emu.org
Signed-off-by: Bix: bix@bixed.xyz

Added better handling for mprotect out of memory issue on games like Persona 5 Royal where having larger pages unflushed causes crashes after certain amount of time (≠30 min) with MAP_FIXED_NOREPLACE ensuring protected pages doesn't overfload memory. Eden Collaborator: <edencollaborator@eden-emu.org> Authored-by: CamilleLaVey: <camillelavey@eden-emu.org> Signed-off-by: Bix: <bix@bixed.xyz>
crueter force-pushed test from 6017b18c91 to c81a0e94fb
Some checks failed
eden-license / license-header (pull_request) Failing after 12s
2025-07-11 10:05:49 +02:00
Compare
crueter changed title from [Android, MEM] MPROTECT OOM handling. to [mem] MPROTECT OOM handling. 2025-07-11 10:06:18 +02:00
crueter force-pushed test from c81a0e94fb
Some checks failed
eden-license / license-header (pull_request) Failing after 12s
to 34b8010e1a
All checks were successful
eden-license / license-header (pull_request) Successful in 19s
2025-07-13 03:42:14 +02:00
Compare
CamilleLaVey closed this pull request 2025-07-21 23:06:42 +02:00
All checks were successful
eden-license / license-header (pull_request) Successful in 19s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.