1 --- a/src/core/libraries/kernel/thread_management.cpp
2 +++ b/src/core/libraries/kernel/thread_management.cpp
3 @@ -1065,7 +1065,16 @@ ScePthread PThreadPool::Create() {
8 auto* ret = new PthreadInternal{};
10 + // TODO: Linux specific hack
11 + static u8* hint_address = reinterpret_cast<u8*>(0x7FFFFC000ULL);
12 + auto* ret = reinterpret_cast<PthreadInternal*>(
13 + mmap(hint_address, sizeof(PthreadInternal), PROT_READ | PROT_WRITE,
14 + MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0));
15 + hint_address += Common::AlignUp(sizeof(PthreadInternal), 4_KB);
18 ret->is_detached = false;
19 ret->is_almost_done = false;