diff options
author | Ian Moffett <ian@osmora.org> | 2024-04-19 20:59:03 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-19 20:59:03 -0400 |
commit | 7c8707f06fd8d5953b7f4721f6625b87d3225f8e (patch) | |
tree | c94fba06221a58219c263c4a5bdd6d700c4c9e40 /sys/include | |
parent | a6e240d265656408dbe807719dc2f0911c44198f (diff) |
kernel: vm: Document vm_object fields
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/vm/obj.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/include/vm/obj.h b/sys/include/vm/obj.h index d44454e..6129889 100644 --- a/sys/include/vm/obj.h +++ b/sys/include/vm/obj.h @@ -41,8 +41,8 @@ struct vm_object { struct vm_mapspace mapspace; /* Mapspace this object points to */ struct vm_pagerops *pgops; /* Pager operations */ - uint8_t is_anon : 1; - struct vnode *vnode; + uint8_t is_anon : 1; /* Is an anonymous mapping */ + struct vnode *vnode; /* Only used if `is_anon` is 0 */ }; int vm_obj_init(struct vm_object **res, struct vnode *vnode); |