Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2025 14:00:03 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b21629dfcaf0 - main - arm64: Make the padding in struct ms_page explicit
Message-ID:  <202509041400.584E03JL054224@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

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

commit b21629dfcaf008923d03d7ff15c9d6828eeb95f8
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-09-04 13:33:11 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2025-09-04 13:55:05 +0000

    arm64: Make the padding in struct ms_page explicit
    
    Mark the unused space after pv_memattr as reserved. This doesn't change
    the size of the struct as this padding was already inserted by the
    compiler.
    
    Sponsored by:   Arm Ltd
---
 sys/arm64/include/pmap.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arm64/include/pmap.h b/sys/arm64/include/pmap.h
index 0f23f200f0f6..357c1a0d8232 100644
--- a/sys/arm64/include/pmap.h
+++ b/sys/arm64/include/pmap.h
@@ -69,6 +69,7 @@ struct md_page {
 	TAILQ_HEAD(,pv_entry)	pv_list;
 	int			pv_gen;
 	vm_memattr_t		pv_memattr;
+	uint8_t			pv_reserve[3];
 };
 
 enum pmap_stage {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509041400.584E03JL054224>