aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random/randomdev.h
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:04:20 +0000
commitbaee504b868b9417c815c0de6474a0d6e5d6b4ac (patch)
treed1595a5c47abe50a273afe3cd40668164d251f7e /sys/dev/random/randomdev.h
parent64faa2bd8f597cb57356094006e3405debd5d734 (diff)
vnet: Ensure the space allocated by vnet_data_alloc() is sufficent alignedstable/14
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)
Diffstat (limited to 'sys/dev/random/randomdev.h')
0 files changed, 0 insertions, 0 deletions