diff options
author | Jesper Dangaard Brouer | 2017-11-01 12:44:45 +0100 |
---|---|---|
committer | David S. Miller | 2017-11-02 16:13:14 +0900 |
commit | 03c4cc385faaa46e5877f499c6b997fef792f8d3 (patch) | |
tree | 0e384397a2bb6b6a0483b151622edbf7aaa8b99a /kernel/pid.c | |
parent | 14e83bf82961aeebef41976139c61ab82c84a238 (diff) |
bpf: cpumap micro-optimization in cpu_map_enqueue
Discovered that the compiler laid-out asm code in suboptimal way
when studying perf report during benchmarking of cpumap. Help
the compiler by the marking unlikely code paths.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions