linux/kernel/bpf
Daniel Borkmann 24701ecea7 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 <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-01 14:05:19 -05:00
..
arraymap.c ebpf: constify various function pointer structs 2015-03-01 14:05:18 -05:00
core.c module: remove mod arg from module_free, rename module_memfree(). 2015-01-20 11:38:33 +10:30
hashtab.c ebpf: constify various function pointer structs 2015-03-01 14:05:18 -05:00
helpers.c ebpf: constify various function pointer structs 2015-03-01 14:05:18 -05:00
Makefile ebpf: remove kernel test stubs 2015-03-01 14:05:18 -05:00
syscall.c ebpf: move read-only fields to bpf_prog and shrink bpf_prog_aux 2015-03-01 14:05:19 -05:00
verifier.c ebpf: move read-only fields to bpf_prog and shrink bpf_prog_aux 2015-03-01 14:05:19 -05:00