aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJan Beulich <[email protected]>2021-03-10 11:46:13 +0100
committerBoris Ostrovsky <[email protected]>2021-03-10 16:39:29 -0600
commitf1d20d8643e54dcde242fd2c8748063ed75702a8 (patch)
treed30db68e7e948fcdeeae5f0fb503654c2d504a81 /tools/perf/scripts/python/net_dropmonitor.py
parentbce21a2b48ede7cbcab92db18bc956daf1d5c246 (diff)
Xen/gntdev: don't needlessly use kvcalloc()
Requesting zeroed memory when all of it will be overwritten subsequently by all ones is a waste of processing bandwidth. In fact, rather than recording zeroed ->grants[], fill that array too with more appropriate "invalid" indicators. Signed-off-by: Jan Beulich <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions