android_kernel_motorola_sm6375/kernel/bpf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Borkmann 1ca1cc98bf bpf: minor cleanups on fd maps and helpers
Some minor cleanups: i) Remove the unlikely() from fd array map lookups
and let the CPU branch predictor do its job, scenarios where there is not
always a map entry are very well valid. ii) Move the attribute type check
in the bpf_perf_event_read() helper a bit earlier so it's consistent wrt
checks with bpf_perf_event_output() helper as well. iii) remove some
comments that are self-documenting in kprobe_prog_is_valid_access() and
therefore make it consistent to tp_prog_is_valid_access() as well.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-30 05:54:40 -04:00
..
arraymap.c bpf, maps: flush own entries on perf map release 2016-06-15 23:42:57 -07:00
core.c bpf: minor cleanups on fd maps and helpers 2016-06-30 05:54:40 -04:00
hashtab.c
helpers.c
inode.c bpf, inode: disallow userns mounts 2016-05-23 15:08:26 -07:00
Makefile
percpu_freelist.c
percpu_freelist.h
stackmap.c Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-05-25 17:05:40 -07:00
syscall.c bpf, maps: extend map_fd_get_ptr arguments 2016-06-15 23:42:57 -07:00
verifier.c bpf: fix matching of data/data_end in verifier 2016-06-15 23:37:54 -07:00