clairechingching wrote:

@yonghong-song The kernel verifier is indeed very restrictive and for good 
reason. This feature is intended for user-space eBPF, where the decision to 
allow misaligned access is up to the implementer. In such environments, 
allowing misaligned accesses is far more performant as it drastically reduces 
the number of instructions required to perform common memory operations. By 
making it optional, we leave kernel BPF behavior unchanged while allowing the 
implementer to improve user space performance when the platform supports it.

https://github.com/llvm/llvm-project/pull/167013
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to