aboutsummaryrefslogtreecommitdiff
path: root/lib/libprocstat/core.c
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2026-02-28 11:35:42 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2026-03-05 11:12:41 +0000
commitec22c4022ddbc62be17b2bc65fe8b6113c8d76e7 (patch)
treed7243727f0c8ecf9d1bbf3b1f59be8bcef0ae92a /lib/libprocstat/core.c
parentf2f74aeca53098e702733ee1f0831783e90c51f8 (diff)
vnet: Ensure the space allocated by vnet_data_alloc() is sufficent alignedstable/13
Some 32-bit architectures, e.g., armv7, require strict 8-byte alignment while doing atomic 64-bit access. Hence aligning to the pointer type (4-byte alignment) does not meet the requirement on those architectures. Make the space allocated by vnet_data_alloc() sufficent aligned to avoid unaligned access. PR: 265639 Diagnosed by: markj Reviewed by: jhb, markj Co-authored-by: jhb MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D55560 (cherry picked from commit 32beb3ae71cb320dbe4190a01c036943d99083b3) (cherry picked from commit 973d607b284ba68e63f0386af44c28bfde15add2) (cherry picked from commit baee504b868b9417c815c0de6474a0d6e5d6b4ac)
Diffstat (limited to 'lib/libprocstat/core.c')
0 files changed, 0 insertions, 0 deletions