Improvements for context switching
This commit is contained in:
parent
3a232cc60f
commit
d3dfff8d51
1 changed files with 68 additions and 27 deletions
|
|
@ -93,6 +93,7 @@ impl Context {
|
|||
asm!("mov cr3, $0" : : "r"(self.cr3) : "memory" : "intel", "volatile");
|
||||
*/
|
||||
|
||||
//CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst);
|
||||
// Unset global lock, set inside of kernel
|
||||
CONTEXT_SWITCH_LOCK.store(false, Ordering::SeqCst);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue