OpenCloudOS-Kernel/arch/powerpc/net
Daniel Borkmann a91263d520 ebpf: migrate bpf_prog's flags to bitfield
As we need to add further flags to the bpf_prog structure, lets migrate
both bools to a bitfield representation. The size of the base structure
(excluding insns) remains unchanged at 40 bytes.

Add also tags for the kmemchecker, so that it doesn't throw false
positives. Even in case gcc would generate suboptimal code, it's not
being accessed in performance critical paths.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-03 05:02:39 -07:00
..
Makefile ppc: bpf: rename bpf_jit_64.S to bpf_jit_asm.S 2015-02-20 15:19:43 -05:00
bpf_jit.h ppc: bpf: Add SKF_AD_CPU for ppc32 2015-02-20 15:19:43 -05:00
bpf_jit_asm.S ppc: bpf: rename bpf_jit_64.S to bpf_jit_asm.S 2015-02-20 15:19:43 -05:00
bpf_jit_comp.c ebpf: migrate bpf_prog's flags to bitfield 2015-10-03 05:02:39 -07:00