aboutsummaryrefslogtreecommitdiff
path: root/sys/include/vm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/vm')
-rw-r--r--sys/include/vm/obj.h4
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);