Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2026 00:31:13 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 28cb50f5a8bc - stable/15 - vm/vm_object.h: clarify the OBJ_ONEMAPPING semantic
Message-ID:  <695da951.3765e.eeb3d8@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=28cb50f5a8bccd8f28b1fcca81784fa201de735f

commit 28cb50f5a8bccd8f28b1fcca81784fa201de735f
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-12-31 22:26:38 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-01-07 00:30:32 +0000

    vm/vm_object.h: clarify the OBJ_ONEMAPPING semantic
    
    (cherry picked from commit 9c923575606bbd29dcf0ec3384150d2d67136cbb)
---
 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 20e9fc1fcdcd..be712fafb3dc 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 */


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?695da951.3765e.eeb3d8>