mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 02:43:24 +00:00
Remove the activation lock and use RCU to protect PT removal
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d873e121ff
commit
5b7637eac3
@ -355,7 +355,7 @@ impl Vmar_ {
|
||||
|
||||
/// Clears all content of the root VMAR.
|
||||
fn clear_root_vmar(&self) -> Result<()> {
|
||||
self.vm_space.clear().unwrap();
|
||||
self.vm_space.clear();
|
||||
let mut inner = self.inner.write();
|
||||
inner.vm_mappings.clear();
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user