From nobody Tue Oct 15 15:05:21 2024 X-Original-To: dev-commits-src-all@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 4XScpp0Bjqz5YYW3; Tue, 15 Oct 2024 15:05:22 +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 4XScpn6pjSz45tT; Tue, 15 Oct 2024 15:05:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729004722; 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=Hzc9+z9lzhIejvz9BOWb/R137rjRZAjBDg/ioOQd67E=; b=fFv9ArbykbdOUbhaY3LsYnPlkyAW2SjkswJJgV71J+pvhwIVrCqtaB80FWI2Al2DTvAcf8 fqeu1IUdlfEOy2Km0iVLJHkJeshsrO6E7184QM0S6jggStp7FLp4kYeoyiq547HWQweIzF HKb6edgVDSzl5wO7juM4kGgmfrv4TBKPZl4SpxRWYLzPkrG6hDpeu+ffMW95uXj+1VFfJ8 oqU/BeYO/FgMgWe02bJU3T1OQUXdWMOriAk7hsT/SBsnG2cfA7K1sen8F/mrAFUK8EXggM CczDkxwsi/12xsTtER0/N5HmzRA02poFSgtuuv4jfjGEUhPjgcEuCXkn6dQj+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729004722; 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=Hzc9+z9lzhIejvz9BOWb/R137rjRZAjBDg/ioOQd67E=; b=HalbwfWPCZd2k0HIdMuDVPUCEFpWrbAiEkNUYpZnJaNFzE3T3d8d7pVE2tdj4oWovrOdIV ZONaPLlA50NJbIIrnye7HHvMn7Xxmlx+kOZPoKY6RaSpIFkhwpWMsC5ndtYGWL6CsXRylK 7nF00wiw9PqnQrSMH2MgirC3JOz9jT60bcws+ox+wViA3DX0xH1vvrOxWTvlNDDjJJHh0Q kU1trZtcfAZYdw+/6nt8wqsTMHGu4QXwxXe0YXPQswRyu2KEp9UGm3sHqNKbFgVZRCBaib wSEAPEorEBemnS983xP5mkkzZCJd+osQcr7TCBmYoIVjd5FnU9whKi65TzQj0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729004722; a=rsa-sha256; cv=none; b=s9lupNJDaUR9osS6GJ0uQC3rBOrRAHu3W6InZK7U5J+IM9eJO0tnqL3axdiKQGQpTuBLW3 RCG3nRMg3DnXrnRuz8XO1s6suC0i1PblyGJpKaVYA7fvSXl3VgeiC67wTIpR85eQfLXByW 3P7L1G4xVFtc8P7tGlRyNGR5GihqUzeQ0ZPGfg9iX4VQGuv1pEuLc1Ef+RUHS4rcfYIgCj k+Tcv0ZQgz37lu6OOyxbeFHpfy38w3/WoCgDKMfpNvETq4eApGHtq2X2TpSkBbFrmG3TJt pYkut+mTpe7mrP5YGL/K0GKqwImfpB2i0o/hMGvMRegvHFzFzXCnZCOfnyE10w== 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 4XScpn66fpzRRM; Tue, 15 Oct 2024 15:05:21 +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 49FF5LZe089042; Tue, 15 Oct 2024 15:05:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FF5Lit089039; Tue, 15 Oct 2024 15:05:21 GMT (envelope-from git) Date: Tue, 15 Oct 2024 15:05:21 GMT Message-Id: <202410151505.49FF5Lit089039@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 891664589bd1 - stable/14 - vm_object: reformat flags definitions List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 891664589bd1bbfd9eb0f6a0218208995678961c Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=891664589bd1bbfd9eb0f6a0218208995678961c commit 891664589bd1bbfd9eb0f6a0218208995678961c Author: Konstantin Belousov AuthorDate: 2024-10-06 20:54:30 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-15 14:50:15 +0000 vm_object: reformat flags definitions (cherry picked from commit 34935a6b3723422ef27ce4eb80fbe52c3dab12fc) --- 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 a532d07f6674..0a6b8de6574c 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -184,23 +184,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.