aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-12-31 22:26:38 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-01-04 22:47:51 +0000
commit9c923575606bbd29dcf0ec3384150d2d67136cbb (patch)
treedda2c3480ba06a8da05eacd71fe1a3fcb9c523d5
parent2f83319214d9adb8ab7a77e35d1014658b3f9cae (diff)
vm/vm_object.h: clarify the OBJ_ONEMAPPING semantic
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D54459
-rw-r--r--sys/vm/vm_object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 98afb93f8389..cd1d10d4fb89 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -197,8 +197,9 @@ struct vm_object {
#define OBJ_SPLIT 0x00000400 /* object is being split */
#define OBJ_COLLAPSING 0x00000800 /* Parent of collapse. */
#define OBJ_COLORED 0x00001000 /* pg_color is defined */
-#define OBJ_ONEMAPPING 0x00002000 /* One USE (a single, non-forked)
- mapping flag */
+#define OBJ_ONEMAPPING 0x00002000 /* Each page is allowed to have at most
+ one managed mapping, all in the same
+ vm_map */
#define OBJ_PAGERPRIV1 0x00004000 /* Pager private */
#define OBJ_PAGERPRIV2 0x00008000 /* Pager private */
#define OBJ_SYSVSHM 0x00010000 /* SysV SHM */