Kernel: Make all futexes shared

Some stuff tries to use shared futexes so make them all shared. Private
futexes would be faster as they are process specific but supporting both
would need some reworks
This commit is contained in:
2025-08-21 02:56:17 +03:00
parent fb61cab70d
commit 350ae90bb6
2 changed files with 19 additions and 23 deletions

View File

@@ -350,14 +350,6 @@ namespace Kernel
BAN::UniqPtr<PageTable> m_page_table;
BAN::RefPtr<TTY> m_controlling_terminal;
struct futex_t
{
ThreadBlocker blocker;
uint32_t waiters { 0 };
uint32_t to_wakeup { 0 };
};
BAN::HashMap<paddr_t, BAN::UniqPtr<futex_t>> m_futexes;
friend class Thread;
};