|
AquilaOS documentation
How it works, and its code
|
An anon's reference to a page (an aref). More...
#include <vm.h>
Data Fields | |
| struct vm_page * | vm_page |
| the page | |
| size_t | ref |
| how many anons have the aref | |
| uint32_t | flags |
| its flags (VM_COPY) | |
An anon's reference to a page (an aref).
Anons that a fork shares share their arefs, and ref counts them, so the page is copied before one of them writes to it.
| uint32_t vm_aref::flags |
| size_t vm_aref::ref |
how many anons have the aref
Definition at line 112 of file vm.h.
Referenced by pf_anon(), pf_object(), pf_present(), pf_zero(), vm_anon_copy_arefs(), vm_anon_destroy(), and vm_aref_decref().
| struct vm_page* vm_aref::vm_page |
the page
Definition at line 109 of file vm.h.
Referenced by pf_anon(), pf_object(), pf_present(), pf_zero(), vm_anon_destroy(), and vm_aref_eq().