diff options
author | 2016-10-18 13:02:49 +0100 | |
---|---|---|
committer | 2016-10-18 14:22:26 +0100 | |
commit | b4bcbe2a90a1127a6dad72fbda27e77705d9e0f4 (patch) | |
tree | 4ec9723b37ee7b2129b938ca8b6d53ec56898943 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Bump object bookkeeping to u64 from size_t (diff) | |
download | wireguard-linux-b4bcbe2a90a1127a6dad72fbda27e77705d9e0f4.tar.xz wireguard-linux-b4bcbe2a90a1127a6dad72fbda27e77705d9e0f4.zip |
drm/i915: Document our internal limit on object size
In many places, we try to count pages using a 32 bit integer. That
implies if we are asked to create an object larger than 43bits, we will
subtly crash much later. Catch this on the boundary, and add a warning
to remind ourselves later on our exabyte systems.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161018120251.25043-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions