summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-02-03 09:46:09 +0300
committerJakub Kicinski <kuba@kernel.org>2022-02-04 06:11:14 +0300
commit25ee1660a590d9b1ea209f92deb212ec4690547e (patch)
treeece5f3bccf8057178e83959159dc69378eccab46 /tools/perf/scripts/python/export-to-sqlite.py
parentc59400a68c53374179cdc5f99fa77afbd092dcf8 (diff)
downloadlinux-25ee1660a590d9b1ea209f92deb212ec4690547e.tar.xz
net: minor __dev_alloc_name() optimization
__dev_alloc_name() allocates a private zeroed page, then sets bits in it while iterating through net devices. It can use __set_bit() to avoid unnecessary locked operations. Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20220203064609.3242863-1-eric.dumazet@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions