mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 18:59:26 +02:00
2026-09-12 04:48:26
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
5e425e4e9e
commit
11639bbb64
1 changed files with 1 additions and 3 deletions
|
|
@ -541,9 +541,7 @@ public:
|
|||
}
|
||||
}
|
||||
LOG_WARNING(Common_Memory, "using largepage of size {} #{}", max_size, max_index);
|
||||
// Do not use SHM_LARGEPAGE_ALLOC_HARD, yknow what will happen when you do?
|
||||
// the entire Eden process will hang for eternity! that's what will happen
|
||||
// Want to fuck around and find out? Go ahead, I tempt you change the "default" to "hard"
|
||||
// Do not use SHM_LARGEPAGE_ALLOC_HARD, will infinitely hang on vm_reclaim on most systems
|
||||
fd = shm_create_largepage(SHM_ANON, O_RDWR, max_index, SHM_LARGEPAGE_ALLOC_DEFAULT, 0600);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue