diff options
| author | Zhenlei Huang <zlei@FreeBSD.org> | 2026-02-28 11:35:42 +0000 |
|---|---|---|
| committer | Zhenlei Huang <zlei@FreeBSD.org> | 2026-02-28 11:35:42 +0000 |
| commit | 32beb3ae71cb320dbe4190a01c036943d99083b3 (patch) | |
| tree | b4a9e8a84cda8f24d1b24bed985042fac28a5bc5 /stand/man | |
| parent | d44d79e577eab3e66b993c783b969b82678792d1 (diff) | |
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
Diffstat (limited to 'stand/man')
0 files changed, 0 insertions, 0 deletions
