diff options
author | 2021-03-10 11:46:13 +0100 | |
---|---|---|
committer | 2021-03-10 16:39:29 -0600 | |
commit | f1d20d8643e54dcde242fd2c8748063ed75702a8 (patch) | |
tree | d30db68e7e948fcdeeae5f0fb503654c2d504a81 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Xen/gnttab: introduce common INVALID_GRANT_{HANDLE,REF} (diff) | |
download | wireguard-linux-f1d20d8643e54dcde242fd2c8748063ed75702a8.tar.xz wireguard-linux-f1d20d8643e54dcde242fd2c8748063ed75702a8.zip |
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 <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/9a726be2-4893-8ffe-0ef1-b70dd1c229b1@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions