Claire Fan
fb2563d137
[BPF] add allows-misaligned-mem-access target feature ( #167013 )
...
This proposal adds a `cl::opt` CLI flag
`-bpf-allow-misaligned-mem-access` to BPF target that lets users enable
allowing misaligned memory accesses.
The motivation behind the proposal is user space eBPF VMs (interpreters
or JITs running in user space) typically run on real CPUs where
unaligned memory accesses are acceptable (or handled efficiently) and
can be enabled to simplify lowering and improve performance. In
contrast, kernel eBPF must obey verifier constraints and
platform-specific alignment restrictions.
A new CLI option keeps kernel behavior unchanged while giving userspace
VMs an explicit opt-in to enable more permissive codegen. It supports
both use-cases without diverging codebases.
2025-11-13 08:50:52 -08:00
..
2025-10-24 08:39:36 -07:00
2025-10-24 08:39:36 -07:00
2025-01-29 16:56:47 +01:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-10-07 16:34:06 -07:00
2025-10-07 16:34:06 -07:00
2025-10-24 08:39:36 -07:00
2025-10-24 08:39:36 -07:00
2025-10-24 08:39:36 -07:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2025-03-04 09:19:39 -08:00
2025-03-04 09:19:39 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-11-03 11:11:47 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-10-24 08:39:36 -07:00
2025-10-24 08:39:36 -07:00
2025-11-04 11:32:12 -08:00
2025-11-04 11:32:12 -08:00
2025-11-04 11:32:12 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-08-08 11:09:34 +02:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-01-28 15:19:05 -08:00
2025-01-28 15:19:05 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-10-18 09:35:42 +04:00
2024-12-15 11:04:24 -08:00
2025-11-12 21:12:19 +00:00
2025-10-24 08:39:36 -07:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2025-10-24 08:39:36 -07:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-07-11 13:17:08 +01:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-10-01 14:20:54 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-10-01 14:20:54 -07:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-11-13 08:50:52 -08:00
2024-12-15 11:04:24 -08:00
2024-12-15 11:04:24 -08:00
2025-08-08 11:09:34 +02:00
2024-12-15 11:04:24 -08:00
2025-06-13 11:58:48 -07:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00
2025-10-24 08:39:36 -07:00
2024-12-15 11:04:24 -08:00