summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-07-29 04:35:15 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2023-08-31 20:48:57 +0300
commit16735297fdce2c7952dbe23288aad0d327fc444b (patch)
tree457a43a5b39b1bc72be2a73dfe5f4cee131d918b /tools/perf/scripts/python/task-analyzer.py
parentba193f62c075768b475efbaec32481a20869813f (diff)
downloadlinux-16735297fdce2c7952dbe23288aad0d327fc444b.tar.xz
drm/i915/gvt: Use an "unsigned long" to iterate over memslot gfns
Use an "unsigned long" instead of an "int" when iterating over the gfns in a memslot. The number of pages in the memslot is tracked as an "unsigned long", e.g. KVMGT could theoretically break if a KVM memslot larger than 16TiB were deleted (2^32 * 4KiB). Reviewed-by: Yan Zhao <yan.y.zhao@intel.com> Tested-by: Yongwei Ma <yongwei.ma@intel.com> Reviewed-by: Zhi Wang <zhi.a.wang@intel.com> Link: https://lore.kernel.org/r/20230729013535.1070024-10-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions