Re: [PATCH bpf 2/2] bpf: enforce usage of __aligned_u64 in the UAPI header

2018-05-29 Thread Song Liu
On Sun, May 27, 2018 at 4:28 AM, Eugene Syromiatnikov wrote: > Use __aligned_u64 instead of __u64 everywhere in the UAPI header, > similarly to v4.17-rc1~94^2~58^2 "RDMA: Change all uapi headers to use > __aligned_u64 instead of __u64". > > This commit doesn't change structure layouts, but imposes

[PATCH bpf 2/2] bpf: enforce usage of __aligned_u64 in the UAPI header

2018-05-27 Thread Eugene Syromiatnikov
Use __aligned_u64 instead of __u64 everywhere in the UAPI header, similarly to v4.17-rc1~94^2~58^2 "RDMA: Change all uapi headers to use __aligned_u64 instead of __u64". This commit doesn't change structure layouts, but imposes additional alignment requirements on struct bpf_stack_build_id, struct