aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2020-12-21 11:25:06 -0800
committerDaniel Borkmann <[email protected]>2020-12-22 00:14:31 +0100
commite7e518053c267bb6be3799520d9f4a34c7264a2e (patch)
treeed7913c37a9b08f46559a5a6a741725ffcd6d1e5 /tools/perf/scripts/python/exported-sql-viewer.py
parentd467d80dc399ba77875d647f2f37b7d1a70d94c2 (diff)
bpf: Add schedule point in htab_init_buckets()
We noticed that with a LOCKDEP enabled kernel, allocating a hash table with 65536 buckets would use more than 60ms. htab_init_buckets() runs from process context, it is safe to schedule to avoid latency spikes. Fixes: c50eb518e262 ("bpf: Use separate lockdep class for each hashtab") Reported-by: John Sperbeck <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions