From: Daniel Borkmann Date: Sun, 1 Mar 2015 11:31:47 +0000 (+0100) Subject: ebpf: move read-only fields to bpf_prog and shrink bpf_prog_aux X-Git-Tag: omap-for-v4.2/o2_dc~131^2~383^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24701ecea76b0b93bd9667486934ec310825f558;p=pandora-kernel.git ebpf: move read-only fields to bpf_prog and shrink bpf_prog_aux is_gpl_compatible and prog_type should be moved directly into bpf_prog as they stay immutable during bpf_prog's lifetime, are core attributes and they can be locked as read-only later on via bpf_prog_select_runtime(). With a bit of rearranging, this also allows us to shrink bpf_prog_aux to exactly 1 cacheline. Signed-off-by: Daniel Borkmann Acked-by: Alexei Starovoitov Signed-off-by: David S. Miller --- Reading git-diff-tree failed