commit | 03c4cc385faaa46e5877f499c6b997fef792f8d3 | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Wed Nov 01 12:44:45 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 02 16:13:14 2017 +0900 |
tree | 0e384397a2bb6b6a0483b151622edbf7aaa8b99a | |
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>