git: b21629dfcaf0 - main - arm64: Make the padding in struct ms_page explicit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Sep 2025 14:00:03 UTC
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 {