mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix missing TLB-flush in exit_thread(2).
This commit is contained in:
parent
8b3e25ce7f
commit
2d8d89b9f8
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ static int sys_exit_thread(int status,
|
|||
ScopedLock lock(&process->segment_lock);
|
||||
Memory::UnmapMemory(process, (uintptr_t) extended.unmap_from,
|
||||
extended.unmap_size);
|
||||
Memory::Flush();
|
||||
}
|
||||
|
||||
if ( flags & EXIT_THREAD_ZERO )
|
||||
|
|
Loading…
Add table
Reference in a new issue