Fix missing TLB-flush in exit_thread(2).
This commit is contained in:
parent
8b3e25ce7f
commit
2d8d89b9f8
|
@ -325,6 +325,7 @@ static int sys_exit_thread(int status,
|
||||||
ScopedLock lock(&process->segment_lock);
|
ScopedLock lock(&process->segment_lock);
|
||||||
Memory::UnmapMemory(process, (uintptr_t) extended.unmap_from,
|
Memory::UnmapMemory(process, (uintptr_t) extended.unmap_from,
|
||||||
extended.unmap_size);
|
extended.unmap_size);
|
||||||
|
Memory::Flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( flags & EXIT_THREAD_ZERO )
|
if ( flags & EXIT_THREAD_ZERO )
|
||||||
|
|
Loading…
Reference in New Issue