From nobody Mon Oct 07 08:24:59 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XMXJW4K4Hz5XWWN; Mon, 07 Oct 2024 08:24:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XMXJW3fMCz4shC; Mon, 7 Oct 2024 08:24:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728289499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UVh7AJflniNJCRQWMI2j4cmiIGArpdQCYwRTgLGNGps=; b=mcmc0QF6znnJUl/gdnvwuOt00RxcROPrKKXSZ3pFipVBu8CXuIQpSX6kX2vUWqUBbaXHF2 u+auYG8C/tgz06ixkFyv5uDRuvUNG/bp8+oP9YscdJiPKSf+4x6xU0hGO4fVPZRAcwFVQp pTpSvga+uZzTCEkK5PPqs4aiW0MioYfK/SfN5N7uiaD3QVOUQmplgHkjJVWs7BCVtgBz6m ncZg5BWngFSm2Kj9hbmaXCTKcD6Hrq8BlOd8K8rRzyJo2ktcJq8OMP3m/WDKJ+FKguUtG4 naQ06JonUAvPkvIFWYtMD6rS2DJqPSGhIdlfJy8apt9lfUl55hLyAneMTh29Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728289499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UVh7AJflniNJCRQWMI2j4cmiIGArpdQCYwRTgLGNGps=; b=ph1lMM7pHim8KlZ6jhp8+Mvp1QdGeCgkH6bwKbsNSMghFm50rIzAWVxNhU02ayN6WEoGRt mJAo6inbjhkaqSMvumD4cvotOGreugDdGXJxF82VDZYjVor+dG0+gKSjkfu/XXbyq2yejn kWyMfzvC13ZxfiPwrEkWeeDt/5GZgjk4ReyxkznieQ77wHCho4oWmYn84Mn3ueFUamMsuS 8btncdSNnPEGsU2Ky3oP5ddjrKySiAP4vqizyXyaeUc75ZdOx3JgPod1RLmKhufQ3kNZ+M wlj8fAkai0poMjJDE2rg2s3qQ1EHq34UeXz/w3L5ltacSe7ROttP2vADt/7cxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728289499; a=rsa-sha256; cv=none; b=sTgzLyogjMjIYlGP03Foh3OR1sBkuVSc/FVQGBlegltEGbviW0BMW8m1pDQqJ2ghtXcVjg G3R/aNI0vXh1KSCpJJBdHoSSRPi7WkFywBJPPFGm1w7GWWzm8cw8LZ411Ye6SJ2rV6iaUo eI2xGyebsMB5gkQUlNq6la4w5GZYHrjhjBAgtTruWDK+RVJ1i5HL/jICFJmSa3ZCYu7sfq GYonkptFd18hx8/U1UXxpkvA6940sSj7Q1LlwNhzt5FGqsKILjvDeLUoNcifZAQEN/fze3 9E9cAezqjKzTbHk4pDUx+tJh19OykazXJ8M6lug9t+dFDIDKraGbm9uyWrbxfQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XMXJW24SBzdgJ; Mon, 7 Oct 2024 08:24:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4978OxUV011762; Mon, 7 Oct 2024 08:24:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4978OxtG011759; Mon, 7 Oct 2024 08:24:59 GMT (envelope-from git) Date: Mon, 7 Oct 2024 08:24:59 GMT Message-Id: <202410070824.4978OxtG011759@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 34935a6b3723 - main - vm_object: reformat flags definitions List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 34935a6b3723422ef27ce4eb80fbe52c3dab12fc Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=34935a6b3723422ef27ce4eb80fbe52c3dab12fc commit 34935a6b3723422ef27ce4eb80fbe52c3dab12fc Author: Konstantin Belousov AuthorDate: 2024-10-06 20:54:30 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-07 08:22:12 +0000 vm_object: reformat flags definitions Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D46959 --- sys/vm/vm_object.h | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 71a1c33c7f26..3eaab1282fa6 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -182,23 +182,25 @@ struct vm_object { /* * Flags */ -#define OBJ_FICTITIOUS 0x0001 /* (c) contains fictitious pages */ -#define OBJ_UNMANAGED 0x0002 /* (c) contains unmanaged pages */ -#define OBJ_POPULATE 0x0004 /* pager implements populate() */ -#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */ -#define OBJ_ANON 0x0010 /* (c) contains anonymous memory */ -#define OBJ_UMTXDEAD 0x0020 /* umtx pshared was terminated */ -#define OBJ_SIZEVNLOCK 0x0040 /* lock vnode to check obj size */ -#define OBJ_PG_DTOR 0x0080 /* dont reset object, leave that for dtor */ -#define OBJ_SHADOWLIST 0x0100 /* Object is on the shadow list. */ -#define OBJ_SWAP 0x0200 /* object swaps, type will be OBJT_SWAP +#define OBJ_FICTITIOUS 0x00000001 /* (c) contains fictitious pages */ +#define OBJ_UNMANAGED 0x00000002 /* (c) contains unmanaged pages */ +#define OBJ_POPULATE 0x00000004 /* pager implements populate() */ +#define OBJ_DEAD 0x00000008 /* dead objects (during rundown) */ +#define OBJ_ANON 0x00000010 /* (c) contains anonymous memory */ +#define OBJ_UMTXDEAD 0x00000020 /* umtx pshared was terminated */ +#define OBJ_SIZEVNLOCK 0x00000040 /* lock vnode to check obj size */ +#define OBJ_PG_DTOR 0x00000080 /* do not reset object, leave that + for dtor */ +#define OBJ_SHADOWLIST 0x00000100 /* Object is on the shadow list. */ +#define OBJ_SWAP 0x00000200 /* object swaps, type will be OBJT_SWAP or dynamically registered */ -#define OBJ_SPLIT 0x0400 /* object is being split */ -#define OBJ_COLLAPSING 0x0800 /* Parent of collapse. */ -#define OBJ_COLORED 0x1000 /* pg_color is defined */ -#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ -#define OBJ_PAGERPRIV1 0x4000 /* Pager private */ -#define OBJ_PAGERPRIV2 0x8000 /* Pager private */ +#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_PAGERPRIV1 0x00004000 /* Pager private */ +#define OBJ_PAGERPRIV2 0x00008000 /* Pager private */ /* * Helpers to perform conversion between vm_object page indexes and offsets.