Skip to content
Snippets Groups Projects
Commit 1efec144 authored by Avi Kivity's avatar Avi Kivity
Browse files

smp: mark smp bringup threads as pinned

parent ba95524c
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,7 @@ void smp_launch()
}
sched::thread::attr attr;
attr.stack = { new char[81920], 81920 };
attr.pinned = true;
c->bringup_thread = new sched::thread([=] { ap_bringup(c); }, attr, true);
}
apic->write(apicreg::ICR, 0xc4500); // INIT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment