mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
Kernel: Shrink Thread by making kernel resume TSS heap-allocated.
This commit is contained in:
@@ -694,7 +694,8 @@ void Process::sys$sigreturn()
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
Scheduler::prepare_to_modify_tss(*current);
|
||||
current->m_tss = current->m_tss_to_resume_kernel;
|
||||
current->m_tss = *current->m_tss_to_resume_kernel;
|
||||
current->m_tss_to_resume_kernel.clear();
|
||||
#ifdef SIGNAL_DEBUG
|
||||
kprintf("sys$sigreturn in %s(%u)\n", name().characters(), pid());
|
||||
auto& tss = current->tss();
|
||||
|
||||
Reference in New Issue
Block a user