mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 19:28:11 +00:00
Kernel: Encapsulate the Region's COW map a bit better.
This commit is contained in:
parent
2fa5e2b66b
commit
01ffcdfa31
5 changed files with 19 additions and 13 deletions
|
@ -279,7 +279,7 @@ ByteBuffer procfs$pid_vmo(InodeIdentifier identifier)
|
|||
auto& physical_page = region->vmo().physical_pages()[i];
|
||||
builder.appendf("P%x%s(%u) ",
|
||||
physical_page ? physical_page->paddr().get() : 0,
|
||||
region->cow_map().get(i) ? "!" : "",
|
||||
region->should_cow(i) ? "!" : "",
|
||||
physical_page ? physical_page->retain_count() : 0
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue