diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-02-01 22:39:54 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-06 03:34:36 -0500 |
commit | a10423b87a7eae75da79ce80a8d9475047a674ee (patch) | |
tree | 2a8296c94fc90056e7a8d2b2dd3b31d4d3d73d5b /MAINTAINERS | |
parent | 824bd0ce6c7c43a9e1e210abf124958e54d88342 (diff) | |
download | linux-a10423b87a7eae75da79ce80a8d9475047a674ee.tar.bz2 |
bpf: introduce BPF_MAP_TYPE_PERCPU_ARRAY map
Primary use case is a histogram array of latency
where bpf program computes the latency of block requests or other
events and stores histogram of latency into array of 64 elements.
All cpus are constantly running, so normal increment is not accurate,
bpf_xadd causes cache ping-pong and this per-cpu approach allows
fastest collision-free counters.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions