The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9c923575606bbd29dcf0ec3384150d2d67136cbb
commit 9c923575606bbd29dcf0ec3384150d2d67136cbb Author: Konstantin Belousov <[email protected]> AuthorDate: 2025-12-31 22:26:38 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-01-04 22:47:51 +0000 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 --- sys/vm/vm_object.h | 5 +++-- 1 file 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 */
