Skip to content

Commit e6b9d7c

Browse files
committed
fixup! Track dirty pages from host side
1 parent b2611ca commit e6b9d7c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/hyperlight_host/src/mem/shared_mem.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,8 @@ impl ExclusiveSharedMemory {
322322
c_int, mmap, mprotect, off_t, size_t,
323323
};
324324

325-
use crate::{
326-
error::HyperlightError::{MemoryRequestTooBig, MmapFailed, MprotectFailed},
327-
mem::bitmap::new_page_bitmap,
328-
};
325+
use crate::error::HyperlightError::{MemoryRequestTooBig, MmapFailed, MprotectFailed};
326+
use crate::mem::bitmap::new_page_bitmap;
329327

330328
if min_size_bytes == 0 {
331329
return Err(new_error!("Cannot create shared memory with size 0"));

0 commit comments

Comments
 (0)