diff options
author | 2017-09-08 14:01:10 -0700 | |
---|---|---|
committer | 2017-09-08 21:11:00 -0700 | |
commit | 374fb014fc5b15e420faa00af036868a635eadd3 (patch) | |
tree | 0925d65fb3e7e0eec9f6d08f22086a861d294dac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: add support for sockmap detach programs (diff) | |
download | wireguard-linux-374fb014fc5b15e420faa00af036868a635eadd3.tar.xz wireguard-linux-374fb014fc5b15e420faa00af036868a635eadd3.zip |
bpf: devmap, use cond_resched instead of cpu_relax
Be a bit more friendly about waiting for flush bits to complete.
Replace the cpu_relax() with a cond_resched().
Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions