Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: bjorn3 <4397-bjorn3@users.noreply.gitlab.redox-os.org>
This commit is contained in:
committed by
Jeremy Soller
parent
bbfbe30445
commit
df07d65c05
@@ -47,7 +47,7 @@ pub fn resource(token: &mut CleanLockToken) -> Result<Vec<u8>> {
|
||||
context::memory::Provider::Allocated { .. } => {
|
||||
private_memory += info.page_count() * crate::memory::PAGE_SIZE
|
||||
}
|
||||
// Excluded because it is not allocable by user, whether if
|
||||
// Excluded because it is not allocable by user, whether
|
||||
// this region is counted toward usable memory remain unknown
|
||||
context::memory::Provider::PhysBorrowed { .. } => {}
|
||||
_ => shared_memory += info.page_count() * crate::memory::PAGE_SIZE,
|
||||
|
||||
Reference in New Issue
Block a user