vm_object.h: tweak OBJ_ONEMAPPING comment even more

The formulation that pages are allowed to have at most one mapping is
not quite clear.  Nothing prevents pages from having more than one
mapping, but the flag must be cleared then.

Reviewed by:	alc, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D54570
This commit is contained in:
Konstantin Belousov 2026-01-07 08:25:46 +02:00
parent 6c0bcd15e4
commit dcb80621bb

View file

@ -197,9 +197,8 @@ 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 /* Each page is allowed to have at most
one managed mapping, all in the same
vm_map */
#define OBJ_ONEMAPPING 0x00002000 /* Each page has 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 */