mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 17:03:23 +00:00
Fix all spelling mistakes in history by typos tool
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
b29d3b5409
commit
86f09eef75
@ -48,7 +48,7 @@
|
||||
//!
|
||||
//! ## Validity
|
||||
//!
|
||||
//! The page table cursor API will guarentee that the page table, as a data
|
||||
//! The page table cursor API will guarantee that the page table, as a data
|
||||
//! structure, whose occupied memory will not suffer from data races. This is
|
||||
//! ensured by the page table lock protocol. In other words, any operations
|
||||
//! provided by the APIs (as long as safety requirements are met) will not
|
||||
@ -113,7 +113,7 @@ where
|
||||
/// index 0, and the level N page table lock guard is at index N - 1.
|
||||
///
|
||||
/// When destructing the cursor, the locks will be released in the order
|
||||
/// from low to high, exactly the reverse order of the aquisition.
|
||||
/// from low to high, exactly the reverse order of the acquisition.
|
||||
/// This behavior is ensured by the default drop implementation of Rust:
|
||||
/// <https://doc.rust-lang.org/reference/destructors.html>.
|
||||
guards: [Option<PageTableNode<E, C>>; C::NR_LEVELS as usize],
|
||||
|
Reference in New Issue
Block a user